import { ResponderMessage } from "../../clients/routerClientInstance";
declare type FinsembleEventParams = {
    source: string;
    sourceType: string;
    event: string;
    handler: Function;
    listenerGuid: string;
};
declare class FinsembleEvent {
    private event;
    source: string;
    private sourceType;
    private handler;
    private allowDelay;
    private delayed;
    private allowCancel;
    private canceled;
    private guid;
    private completed;
    data: any;
    private listenerGuid;
    private queryMessage;
    constructor(params: FinsembleEventParams, queryMessage?: ResponderMessage);
    private internalHandler;
    cancel(): void;
    wait(): void;
    done(data?: any): void;
}
export default FinsembleEvent;
//# sourceMappingURL=FinsembleEvent.d.ts.map