import type { Duplex } from "node:stream";
import { type PresenterAccountAuthority } from "./mcp-presenter-account.ts";
import type { PresenterHostSurface } from "./mcp-presenter-host-surface.ts";
import { SealedSecretHolders } from "./secret-sealed-holders.ts";
/** Separate authenticated control endpoint. Ordinary RPC credentials cannot enroll or acquire. */
export declare class McpPresenterControl {
    private readonly host;
    private readonly authority;
    private readonly principals;
    private readonly controls;
    private readonly revokeControls;
    private launchOwner?;
    private readonly backendGenerations;
    private readonly enrollment;
    private readonly successors;
    private readonly accounts;
    private readonly server;
    private readonly account;
    /** The sealed secret route's holders and host token cache (D11 secret phase); absent without both seam methods. */
    readonly sealed: SealedSecretHolders | undefined;
    readonly path: string;
    constructor(host: PresenterHostSurface, path: string, account?: PresenterAccountAuthority);
    listen(): Promise<void>;
    /** A deferred handover is spawned by the old host, not the CLI that already returned. */
    successorBootstrap(): Promise<Duplex | undefined>;
    /**
     * The deferred form (senpi#4602): a provider when an owner can authorize a successor at all, called only when that
     * successor reaches its P7, so the fresh permit's 30 s window covers the exchange and not the successor's boot.
     */
    successorBootstrapProvider(): (() => Promise<Duplex | undefined>) | undefined;
    /** Only the inherited launch channel may introduce the installation public key. */
    bootstrap(stream: Duplex): void;
    dispose(): void;
    private manage;
}
//# sourceMappingURL=mcp-presenter-control.d.ts.map