Files
cartlog-admin/node_modules/next/dist/server/use-cache/use-cache-wrapper.d.ts
2026-01-01 15:25:19 +05:30

9 lines
424 B
TypeScript

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 declare function cache(kind: string, id: string, boundArgsLength: number, fn: (...args: unknown[]) => Promise<unknown>): (...args: any[]) => Promise<unknown>;