rag-context-optimizer / frontend /node_modules /next /dist /server /use-cache /use-cache-wrapper.d.ts
| 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>; | |