import { FetchMockConfig } from './FetchMock'; export interface FetchMockResponseOptions { readonly headers: any; readonly status?: number; readonly statusText?: string; readonly url?: string; } export declare class ResponseBuilder { body: any; opts: FetchMockResponseOptions; url: string; responseConfig: any; fetchConfig: FetchMockConfig; responseConfigProps: string[]; constructor(url: any, responseConfig: any, fetchConfig?: FetchMockConfig); exec(): any; sendAsObject(): boolean; validateStatus(status: number): number; getOption(name: string): any; redirect(response: any): any; }