import { Context } from '../imports/Context' import { Function } from '../imports/Function' export declare class SOAPResponseV2 { constructor(cx?: Context, args?: any[], ctorObj?: Function, inNewExpr?: boolean) getAllHeaders(): Array getBody(): string getCookies(): any getErrorCode(): number getErrorMessage(): string getHeader(name?: string): string getHeaders(): Record getStatusCode(): number haveError(): boolean waitForResponse(timeoutSecs?: number): void }