import { type HostDaemonPaths } from "./host-daemon-paths.ts";
import type { HandoffHostOptions, HandoffResult } from "./host-handoff.ts";
import type { HostProtocolInfo } from "./host-protocol-info.ts";
export declare function startSuccessor(context: {
    options: HandoffHostOptions;
    paths: HostDaemonPaths;
    host: HostProtocolInfo;
    /** The predecessor's proven identity; `undefined` when nothing proves it, and then it is never signalled. */
    owner: {
        readonly pid: number;
    } | undefined;
    /** Asked once the successor owns the socket: the drain request is sent only when it answers true. */
    drainGate?: () => Promise<boolean>;
}): Promise<HandoffResult>;
//# sourceMappingURL=host-successor.d.ts.map