import { type WriterProbes } from "../../core/session-writer-claims.ts";
export interface ResidentWriter {
    readonly host: string;
    readonly pid: number;
    readonly bootAtMs: number;
    readonly processStartedAtMs: number;
}
export declare function currentResidentWriter(probes?: WriterProbes): Promise<ResidentWriter>;
export declare function isResidentWriter(value: unknown): value is ResidentWriter;
/**
 * A liveness probe for one reopen watch, which polls: a writer found gone stays gone, and a live pid's start time
 * (a process spawn on some platforms) is read once. A writer on another host cannot be probed from here, so it is
 * never displaced.
 */
export declare function residentWriterProbe(probes?: WriterProbes): (writer: ResidentWriter) => Promise<boolean>;
//# sourceMappingURL=host-handover-resident-writer.d.ts.map