export declare type Verb = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
export declare type UrlArg = string | RegExp | ((url: string) => boolean);
export interface IDeferred {
    promise: Promise<any>;
    resolve: (result: any) => void;
    reject: (error: any) => void;
    settled: boolean;
}
export declare function deferred(): IDeferred;
/**
 * Tries to flush any outstanding $httpBackend calls
 * This implicitly calls $rootScope.$digest() as the first step
 */
export declare function flushAngularJS(): void;
export declare const tick: (ms?: number) => Promise<unknown>;
export declare const isSuccessStatus: (status: number) => boolean;
