import { Aqueduct } from '../../generated/aqueduct';
/**
 * Captures events so tests can verify that events are published appropriately
 */
export declare class EventSink<T, D> {
    readonly events: D[];
    constructor(subscription: Aqueduct.Events.SocketEvent<T, D>, params: T);
    verifyEventState(eventsFn: (e: D[]) => boolean, message: string): Promise<void>;
}
