import { type ProviderCallOutput } from "./schema.ts";
export interface SubscriptionEgressScope {
    readonly threadId: string;
    readonly epoch: number;
    readonly cwd: string;
    readonly affinityId: string;
}
export interface SubscriptionEgressExecutor {
    /** Start resolves after terminal delivery; cancellation can be submitted concurrently. */
    handle(command: unknown): Promise<void>;
    /** Aborts all calls and waits for provider settlement and output delivery. */
    dispose(): Promise<void>;
}
/**
 * Experimental, authenticated-channel endpoint. The caller binds local attachment authority;
 * this module opens no listener and is never registered by the normal provider startup.
 */
export declare function createSubscriptionEgressExecutor(attachment: SubscriptionEgressScope, send: (message: ProviderCallOutput) => Promise<void>): SubscriptionEgressExecutor;
//# sourceMappingURL=executor.d.ts.map