///
import type { LoggerLevel } from '../utils/logger.js';
interface Cache {
[filename: string]: {
expires: number;
};
}
export declare class ImageCache {
#private;
constructor(dir: URL, logLevel: LoggerLevel);
init(): Promise;
finalize(): Promise;
get(file: string): Promise;
set(file: string, buffer: Buffer, opts: Cache['string']): Promise;
has(file: string): boolean;
}
export {};