import { type HostDaemonPaths } from "./host-daemon-paths.ts";
import { DEFAULT_STOP_TIMEOUT_MS } from "./host-ensure-stop.ts";
import type { EnsuredHost, EnsureHostOptions } from "./host-ensure-types.ts";
export { DEFAULT_STOP_TIMEOUT_MS };
/**
 * `generation` is 0 for a fresh endpoint; a start that leaves a stranded generation running beside
 * the new one numbers it after that generation, as a handoff would.
 */
export declare function startHost(paths: HostDaemonPaths, socket: string, options: EnsureHostOptions, generation?: number): Promise<EnsuredHost>;
export declare function appendStderr(paths: HostDaemonPaths, message: string): Promise<string>;
//# sourceMappingURL=host-ensure-start.d.ts.map