import { DirectoryEntry } from './DirectoryEntry.js';
export interface SyncWorkspace {
    writeFileSync(subpath: string, data: string): void;
    readFileSync(subpath: string): string;
    existsSync(subpath: string): boolean;
    renameSync(oldPath: string, newPath: string): void;
    rmSync(subpath: string): void;
    mkdirSync(subpath: string, opts?: {
        recursive: boolean;
    }): void;
    rmdirSync(subpath: string, opts?: {
        recursive: boolean;
    }): void;
    readdirSync(subpath: string): DirectoryEntry[];
    appendFileSync(subpath: string, data: string): void;
    exec(command: string, args?: string[], timeout?: number): Promise<{
        exitCode: number;
        stdout: string;
        stderr: string;
    }>;
}
