/opt/canhelp/node_modules/next/dist/server/use-cache
Edit: /opt/canhelp/node_modules/next/dist/server/use-cache/use-cache-wrapper.d.ts (571B)
import { type SearchParams } from '../request/search-params';
import type { Params } from '../request/params';
export interface UseCachePageComponentProps {
params: Promise
;
searchParams: Promise;
$$isPageComponent: true;
}
export type UseCacheLayoutComponentProps = {
params: Promise;
$$isLayoutComponent: true;
} & {
[slot: string]: any;
};
export declare function cache(kind: string, id: string, boundArgsLength: number, originalFn: (...args: unknown[]) => Promise): (...args: any[]) => Promise;