15 lines
		
	
	
		
			571 B
		
	
	
	
		
			TypeScript
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			571 B
		
	
	
	
		
			TypeScript
		
	
	
		
			Executable File
		
	
	
	
	
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>;
 |