export declare function processExists(pid: number, group?: boolean): boolean; export declare function assertProcessesStopped(directory: string): Promise; /** Filesystem lease prevents different databases/configurations owning one checkout. */ export declare class CheckoutOwnership { private readonly paths; acquire(checkout: string, artifacts: string): Promise; release(): Promise; }