import type { SupervisorLockAcquireResult, SupervisorLockGateway } from '../../../../modules/supervisor-management/entities/supervisor/supervisorLock.gateway.js';
export interface SupervisorLockFileSystem {
    readFile(path: string): string | null;
    writeFile(path: string, content: string): void;
    deleteFile(path: string): void;
    ensureDirectory(path: string): void;
    isProcessAlive(pid: number): boolean;
}
export interface SupervisorLockGatewayDependencies {
    lockFilePath: string;
    currentPid: number;
    fileSystem: SupervisorLockFileSystem;
}
export declare function getDefaultSupervisorLockFilePath(): string;
export declare function createDefaultSupervisorLockFileSystem(): SupervisorLockFileSystem;
export declare class SupervisorLockFileSystemGateway implements SupervisorLockGateway {
    private readonly deps;
    constructor(deps: SupervisorLockGatewayDependencies);
    acquire(): Promise<SupervisorLockAcquireResult>;
    release(): Promise<void>;
}
//# sourceMappingURL=supervisorLock.fileSystem.gateway.d.ts.map