/**
 * `pi.session.registerControlEndpoint` for a session a multi-session host serves, and the host's
 * `wake` command for it.
 *
 * The host's public socket already is the session's endpoint - a caller reaches it with
 * `wake { sessionId }` - so registering binds nothing: it installs the registrant's drain and wakes
 * it on the same edges a terminal endpoint uses (`session-control-wake.ts`): `agent_idle`, an
 * admitted delivery reaching the transcript, an inbox entry, and the `wake` command. One pass runs at
 * a time, so the answer to `wake` is the outcome of the pass that covered it - the contract of the
 * terminal endpoint's `wake`, which is what lets one sender wake every recipient kind the same way.
 *
 * A host with no public socket (stdio) has nothing another process can reach, so a registration
 * there answers `unsupported_mode`. `wake` always answers: with no drain registered it still emits
 * `session_control_wake` into the session's extensions and reports `admitted: []`.
 */
import type { AgentSession } from "../../core/agent-session.ts";
import type { RegisterControlEndpointOptions, SessionControlDrainResult, SessionControlRegistration } from "../../core/extensions/types.ts";
import type { ControlEndpointHost } from "../../core/session-control-actions.ts";
export declare class HostSessionControl implements ControlEndpointHost {
    private active;
    private disposed;
    private readonly session;
    private readonly socket;
    private readonly report;
    constructor(session: AgentSession, socket: string | undefined, report: (line: string) => void);
    register(options: RegisterControlEndpointOptions): Promise<SessionControlRegistration>;
    /** The `wake` command: one drain pass covering `deliveryIds`, answered with what it admitted. */
    wake(deliveryIds?: readonly string[]): Promise<SessionControlDrainResult>;
    /** Synchronous so a rebind never gains an await: every edge source stops here. */
    dispose(): void;
    private releaseActive;
}
//# sourceMappingURL=host-session-control.d.ts.map