import { LinkObject, ReferenceObject, ResponseObject as OpenAPIResponseObject } from '../../generators/openapi/definitions'; import { ResponseObject as PostmanResponseObject } from '../../generators/postman/definitions'; import { BaseResponseUtil } from './baseResponseUtils'; /** * {@include ../../../typedocIncludes/responses/contextResponseUtil.md} */ export declare class ContextResponseUtil extends BaseResponseUtil { protected responseUtil: BaseResponseUtil; protected code?: number; protected default?: boolean; protected links?: Record; protected ref?: string; constructor(responseUtil: BaseResponseUtil); setDefault(isDefault: boolean): this; isDefault(): boolean; setCode(code: number): this; getCode(): number | undefined; removeCode(): number | undefined; setRef(ref: string): this; getRef(): string | undefined; removeRef(): string | undefined; setLinks(links: Record): this; addLink(key: string, link: LinkObject): this; addLink(key: string, link: ReferenceObject): this; addLink(key: string): this; removeLinks(): Record | undefined; removeLink(key: string): LinkObject | ReferenceObject | undefined; toPostman(): PostmanResponseObject[]; toOpenAPI(): Record; }