import { RequestInfo, RequestInit } from "node-fetch"; export declare type Prefetch = ReturnType; export interface CacheEntry { data: any; meta: { prefetch: string | null; hash: string | null; }; } export declare function getCacheEntry(method: "getStaticPaths" | "getStaticProps", fileName: string): Promise; export declare function createPrefetch(previousKey: string | null): (info: RequestInfo, init?: RequestInit) => Promise; export declare const isKeyValid: (previousKey: string | null, key: string | null) => boolean;