export interface PidFileContent {
    pid: number;
    startedAt: string;
    port: number;
}
export interface PidFileDeps {
    readPidFile: () => PidFileContent | null;
    writePidFile: (content: PidFileContent) => void;
    removePidFile: () => void;
    isProcessRunning: (pid: number) => boolean;
}
export interface PidFileManagerDependencies {
    readFileSync: (path: string, encoding: string) => string;
    writeFileSync: (path: string, data: string) => void;
    unlinkSync: (path: string) => void;
    existsSync: (path: string) => boolean;
    mkdirSync: (path: string, options: {
        recursive: boolean;
    }) => void;
}
export declare function readPidFile(pidPath: string, deps?: PidFileManagerDependencies): PidFileContent | null;
export declare function writePidFile(pidPath: string, content: PidFileContent, deps?: PidFileManagerDependencies): void;
export declare function removePidFile(pidPath: string, deps?: PidFileManagerDependencies): void;
export declare function pidFileExists(pidPath: string, deps?: PidFileManagerDependencies): boolean;
//# sourceMappingURL=pidFileManager.d.ts.map