import type { HostDaemonDirectory } from "./host-daemon-paths.ts";
export interface HostGenerationPaths {
    readonly dir: string;
    /** Where the pointer names this generation: relative to the daemon directory holding it. */
    readonly relativeDir: string;
    readonly pidFile: string;
    readonly settingsFile: string;
    readonly scratchDir: string;
    /** The host CHILD's `{pid, processStartTime}`, so its liveness is readable apart from the supervisor's. */
    readonly childPidFile: string;
    /** Written by whoever is about to signal this generation, BEFORE the signal (host-stop-intent.ts). */
    readonly stopIntentFile: string;
    /** Written by whoever asks this generation to drain; read by its supervisor (host-stop-intent.ts). */
    readonly drainRequestFile: string;
    /** The supervisor's relay of a drain to its host child. */
    readonly childDrainRequestFile: string;
    /** The supervisor's marker that it reads drain requests, naming its pid. */
    readonly drainWatchFile: string;
    /** The newest stall the host's loop-lag watchdog measured (host-stalled-evidence.ts). */
    readonly stalledFile: string;
    /** The host loop's heartbeat: refreshed on every healthy watchdog tick. */
    readonly aliveFile: string;
    /** The supervisor's own report that it is waiting out a stalled child before escalating. */
    readonly stopProgressFile: string;
}
export declare function generationPaths(paths: HostDaemonDirectory, instanceId: string): HostGenerationPaths;
/** A daemon directory that cannot be created or written, named so the caller can say WHICH path failed. */
export declare class HostDaemonStateError extends Error {
    readonly path: string;
    constructor(path: string, cause: unknown);
}
/** Creates one generation's private directory. Same failure shape as the daemon directory itself. */
export declare function createGenerationDirectory(generation: HostGenerationPaths): Promise<void>;
//# sourceMappingURL=host-generation-paths.d.ts.map