import { HttpService } from '../services/http-service';
import { Request, RequestOptionsArgs } from '@angular/http';
import { Response } from '@angular/http';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/observable/of';
import { Logger } from 'ngx-base';
export declare class MockHttp extends HttpService {
    private logger;
    private UrlRegex;
    private WorkItemRegex;
    private WorkItemSearchRegexp;
    private selfId;
    private mockDataService;
    constructor(logger: Logger);
    parseURL(url: string): any;
    createResponse(url: string, status: number, statusText: string, body: any): Observable<Response>;
    createPage(workItems: any[], params: any): any;
    /**
     * Performs any type of http request. First argument is required, and can either be a url or
     * a {@link Request} instance. If the first argument is a url, an optional {@link RequestOptions}
     * object can be provided as the 2nd argument. The options object will be merged with the values
     * of {@link BaseRequestOptions} before performing the request.
     */
    request(url: string | Request, options?: RequestOptionsArgs): Observable<Response>;
    get(url: string, options?: RequestOptionsArgs): Observable<Response>;
    post(url: string, body: any, options?: RequestOptionsArgs): Observable<Response>;
    put(url: string, body: any, options?: RequestOptionsArgs): Observable<Response>;
    delete(url: string, options?: RequestOptionsArgs): Observable<Response>;
    patch(url: string, body: any, options?: RequestOptionsArgs): Observable<Response>;
    head(url: string, options?: RequestOptionsArgs): Observable<Response>;
    options(url: string, options?: RequestOptionsArgs): Observable<Response>;
}
