import { Many } from '../utils/many' /** * Cache files between builds */ export type NetlifyPluginCacheUtil = { save( path: Many, options?: { ttl?: number digests?: string[] /** * @default `process.cwd()` */ cwd?: string }, ): Promise list(options?: { /** * @default `process.cwd()` */ cwd?: string /** * @default 1 */ depth?: number }): Promise } & Record< 'restore' | 'remove' | 'has', ( path: Many, options?: { /** * @default `process.cwd()` */ cwd?: string }, ) => Promise >