UNPKG

@aziontech/opennextjs-azion

Version:
13 lines (12 loc) 480 B
import type { BuildOptions } from "@opennextjs/aws/build/helper.js"; import type { OpenNextConfig } from "@opennextjs/aws/types/open-next.js"; export type CacheAsset = { isFetch: boolean; fullPath: string; key: string; buildId: string; }; export declare function getCacheAssets(opts: BuildOptions): CacheAsset[]; export declare function populateCache(options: BuildOptions, config: OpenNextConfig, populateCacheOptions: { cacheDir?: string; }): Promise<void>;