export declare enum WAITFOR_FAIL {
    TIMEOUT = 0
}
export type WaitForResponse = {
    error: false;
    txnRef: string;
} | {
    error: true;
    reason: WAITFOR_FAIL.TIMEOUT;
};
type EventFilter = {
    address: string;
    event: string;
    timeout: number;
};
export declare function waitFor(providerUrl: string, eventFilter: EventFilter): Promise<WaitForResponse>;
export {};
//# sourceMappingURL=wait.d.ts.map