File size: 571 Bytes
fea495a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import { type SearchParams } from '../request/search-params';
import type { Params } from '../request/params';
export interface UseCachePageComponentProps {
params: Promise<Params>;
searchParams: Promise<SearchParams>;
$$isPageComponent: true;
}
export type UseCacheLayoutComponentProps = {
params: Promise<Params>;
$$isLayoutComponent: true;
} & {
[slot: string]: any;
};
export declare function cache(kind: string, id: string, boundArgsLength: number, originalFn: (...args: unknown[]) => Promise<unknown>): (...args: any[]) => Promise<unknown>;
|