import type { SecretInputRoute } from "./secret-input-requests.ts";
import type { SessionEventFanout } from "./session-event-fanout.ts";
import { type ConnectionLocality } from "./raiser-notices.ts";
import type { SealedAnswerReply } from "./secret-input-requests.ts";
import type { SealedSecretSource } from "./secret-sealed-holders.ts";
/** Private presenter records contain identities only; output bypasses every replay and observer lane. */
export declare class SecretInputPresentations {
    private readonly fanout;
    private readonly current;
    private readonly writeSole;
    private readonly flush;
    private readonly locality;
    private readonly notices;
    private readonly owners;
    private soleCapabilities;
    private sealedSource?;
    private unsubscribeSealed?;
    private readonly latches;
    constructor(fanout: SessionEventFanout, current: () => string | undefined, writeSole: (line: string) => void, flush: () => void, locality: ConnectionLocality);
    handshake(capabilities: readonly string[]): void;
    /** The presenter control's sealed holders (D11 secret phase); `undefined` detaches them. */
    useSealed(source: SealedSecretSource | undefined): () => void;
    /** `sealed`: this route may add sealed holders (an in-process session, or a worker isolate's host half; D11 5.5). */
    route(session: string, sealed?: boolean): SecretInputRoute;
    /**
     * An `mcp_presenter_secret_answer` from `connection` (design 7.1): the shape, then the sender must hold a grant in
     * the request's sealed snapshot that is still eligible, then the authority's checks; the session's latch decides.
     */
    answerSealed(connection: string, value: unknown): Promise<SealedAnswerReply>;
    recheck(): void;
    /** The raiser leaves; the request ends only when no sealed holder is current either (5.2, gate r2 L1). */
    detach(connection: string): void;
    /** The prompt's title and deadline reach non-presenters as a notice; its value, answer id and receipt never do. */
    private notify;
    /** The connection whose command raised the prompt, refused into the sealed route or not (design 5.2). */
    private raisingConnection;
    private available;
    private holderConnections;
    private local;
    private capable;
    private live;
}
//# sourceMappingURL=secret-input-presentations.d.ts.map