export interface RunnerProcessJanitorManifestInput {
    jobId?: string;
    ownerId?: string;
    runnerToken?: string;
    runnerRunId?: string;
    runnerGeneration?: string | number;
    workspaceRoot?: string;
    projectRoot?: string;
    clientPort?: string | number;
    serverPort?: string | number;
    mongoPort?: string | number;
    inspectPort?: string | number;
}
export interface RunnerProcessJanitorScriptOptions {
    mode?: 'support' | 'runner';
    staleTtlSeconds?: number;
    minAvailableMemoryMb?: number;
    minAvailableDiskMb?: number;
}
export declare class RunnerProcessJanitor {
    static readonly defaultStaleTtlSeconds = 600;
    static readonly defaultMinAvailableMemoryMb = 512;
    static readonly defaultMinAvailableDiskMb = 1536;
    static buildManifest(input?: RunnerProcessJanitorManifestInput): Record<string, unknown>;
    static buildShellLibrary(options?: RunnerProcessJanitorScriptOptions): string;
}
export declare function buildRunnerProcessJanitorShellLibrary(options?: RunnerProcessJanitorScriptOptions): string;
