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;