import { Context } from '../imports/Context.js'; import { Function } from '../imports/Function.js'; export declare class RESTResponseV2 { 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; getQueryString(): string; getResponseAttachmentSysid(): string; getStatusCode(): number; haveError(): boolean; waitForResponse(timeoutSecs?: number): void; } //# sourceMappingURL=RESTResponseV2.d.ts.map