export type RuntimeSubscriptionCleanup = () => void;
export type RuntimeSubscriptionSink<Event> = {
    push(event: Event): void;
    close(): void;
    addCleanup(cleanup: RuntimeSubscriptionCleanup): void;
};
export type RuntimeSubscriptionSource<Event> = (sink: RuntimeSubscriptionSink<Event>) => RuntimeSubscriptionCleanup | void;
export type RuntimeSubscriptionStreamArgs<Event> = {
    signal?: AbortSignal;
    sources?: Array<RuntimeSubscriptionSource<Event>>;
};
//# sourceMappingURL=types.d.ts.map