export interface BoundedBuffer<T = void> {
    add: (callback: (arg: T) => void) => void;
    remove: (callback: (arg: T) => void) => void;
    drain: (arg: T) => void;
}
export declare function createBoundedBuffer<T = void>(): BoundedBuffer<T>;
