import type { BunFile } from 'bun'; export declare const isBun: boolean; export declare function getBuiltinModule(): readonly [typeof import("fs/promises"), import("path").PlatformPath] | undefined; export declare function listHTMLFiles(dir: string): Promise; export declare function listFiles(dir: string): Promise; export declare function fileExists(path: string): Promise; export declare class LRUCache { private readonly max; private readonly ttl; private map; private interval; constructor(max?: number, ttl?: number); get(key: K): V | undefined; set(key: K, value: V): void; delete(key: K): void; clear(): void; size(): number; [Symbol.dispose](): void; } export declare function isCached(headers: Record, etag: string, filePath: string): boolean | Promise; export declare function getFile(path: string): BunFile | Promise; export declare function generateETag(file: BunFile | Buffer): Promise; export declare const isNotEmpty: (obj?: Object) => boolean;