import type { RpcRemoteOrigin } from "./remote-origin.ts";
import type { SessionEventFanout } from "./session-event-fanout.ts";
/** Where a connection speaks from: delegated (senpi#5632) or declared `remoteOrigin` means not this machine's user. */
export interface ConnectionLocality {
    isRemote(connection: string): boolean;
    originOf(connection: string): RpcRemoteOrigin | undefined;
}
/**
 * Value-free notices of a raiser-only dialog (D11 S3-5): every attached connection other than the presenter that opted
 * into `raiser_notice_v1` learns that a secret or grant select is pending and when it settles. A notice never carries
 * a value, draft, answer id or receipt; like the prompt it bypasses replay, snapshots and observer lanes.
 */
type NoticeRecord = {
    readonly type: string;
    readonly [field: string]: unknown;
};
export declare class RaiserNotices {
    #private;
    private readonly fanout;
    private readonly flush;
    constructor(fanout: SessionEventFanout, flush: () => void);
    /** `excluded`: the presenter, plus every connection that receives the prompt itself (a sealed holder). */
    raised(sessionId: string, uiRequestId: string, excluded: readonly (string | undefined)[], notice: NoticeRecord): void;
    settled(sessionId: string, uiRequestId: string, record: NoticeRecord): void;
    dropSession(sessionId: string): void;
}
export {};
//# sourceMappingURL=raiser-notices.d.ts.map