import type { RuntimeSubscriptionCleanup, RuntimeSubscriptionSink, RuntimeSubscriptionSource, RuntimeSubscriptionStreamArgs } from './types.js';
/**
 * Push-to-AsyncIterable bridge for host subscription transports.
 *
 * Event sources push payloads through the sink while the stream owns buffering,
 * waiter wakeups, abort propagation, and source cleanup. It deliberately does
 * not inspect event payloads.
 */
export declare class RuntimeSubscriptionStream<Event> implements AsyncIterable<Event> {
    private readonly events;
    private readonly waiters;
    private readonly cleanups;
    private readonly abortSignal?;
    private readonly abort;
    private closed;
    static fromSources<Event>(args?: RuntimeSubscriptionStreamArgs<Event>): RuntimeSubscriptionStream<Event>;
    constructor(args?: RuntimeSubscriptionStreamArgs<Event>);
    get sink(): RuntimeSubscriptionSink<Event>;
    addSource(source: RuntimeSubscriptionSource<Event>): void;
    addCleanup(cleanup: RuntimeSubscriptionCleanup): void;
    push(event: Event): void;
    close(): void;
    [Symbol.asyncIterator](): AsyncIterator<Event>;
    private runCleanup;
}
//# sourceMappingURL=stream.d.ts.map