import type { EmscriptenModule } from '../types/ghostscript';
export interface FileEntry {
    path: string;
    data: Uint8Array;
    cleanup: boolean;
}
export declare class VirtualFileSystem {
    private readonly module;
    private readonly fs;
    private readonly logger;
    private readonly managedFiles;
    private readonly workingDir;
    constructor(module: EmscriptenModule, workingDir?: string);
    private initialize;
    private createDirIfNotExists;
    writeBlob(path: string, blob: Blob, managed?: boolean): Promise<void>;
    writeText(path: string, content: string, managed?: boolean): void;
    readFile(path: string): Uint8Array;
    exists(path: string): boolean;
    cleanup(): void;
}
//# sourceMappingURL=virtual-filesystem.d.ts.map