This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/style/node_modules/next/dist/server/lib/patch-fetch.d.ts
2025-01-11 09:54:09 +03:00

12 lines
726 B
TypeScript

import type { StaticGenerationAsyncStorage, StaticGenerationStore } from '../../client/components/static-generation-async-storage.external';
import type * as ServerHooks from '../../client/components/hooks-server-context';
export declare function validateRevalidate(revalidateVal: unknown, pathname: string): undefined | number | false;
export declare function validateTags(tags: any[], description: string): string[];
export declare function addImplicitTags(staticGenerationStore: StaticGenerationStore): string[];
interface PatchableModule {
serverHooks: typeof ServerHooks;
staticGenerationAsyncStorage: StaticGenerationAsyncStorage;
}
export declare function patchFetch(options: PatchableModule): void;
export {};