export type Unsub = () => void;
export declare class SubscriptionBag {
    private subs;
    private disposed;
    /**
     * Make SubscriptionBag iterable so we can iterate over unsub functions.
     */
    [Symbol.iterator](): Iterator<Unsub>;
    add(unsub?: Unsub | null): void;
    delete(unsub: Unsub): void;
    clear(): void;
    dispose(): void;
}
//# sourceMappingURL=SubscriptionBag.d.ts.map