import { TemplateResult } from 'lit';
import { ApiDefinitions } from '@api-client/core/build/browser.js';
import { ApiDocumentationBase } from './ApiDocumentationBase.js';
import '../../define/amf/api-payload-document.js';
import '../../define/amf/api-parameter-document.js';
import '../../define/ui/ui-radio.js';
/**
 * A web component that renders the documentation page for an API response object.
 */
export default class ApiResponseDocument extends ApiDocumentationBase {
    protected responseValue?: ApiDefinitions.IApiResponse;
    protected payloadsValue?: ApiDefinitions.IApiPayload[];
    /**
     * @returns true when has headers parameters definition
     */
    get hasHeaders(): boolean;
    get payloadValue(): ApiDefinitions.IApiPayload | undefined;
    get response(): ApiDefinitions.IApiResponse | undefined;
    set response(value: ApiDefinitions.IApiResponse | undefined);
    /**
     * When set it opens the headers section
     * @attribute
     */
    headersOpened?: boolean;
    /**
     * When set it opens the payload section
     * @attribute
     */
    payloadOpened?: boolean;
    /**
     * The currently selected media type for the payloads.
     * @attribute
     */
    mimeType?: string;
    /**
     * Queries the graph store for the API Response data.
     */
    processGraph(): Promise<void>;
    /**
     * Queries the store for the response data, when needed.
     */
    queryResponse(): Promise<void>;
    queryPayloads(): Promise<void>;
    protected handleMediaTypeSelect(e: Event): void;
    render(): TemplateResult;
    /**
     * @returns The template for the headers
     */
    protected renderHeaders(): TemplateResult | string;
    /**
     * @returns The template for the payload section
     */
    protected renderPayload(): TemplateResult | string;
    /**
     * @returns The template for the payload media type selector.
     */
    protected renderPayloadSelector(): TemplateResult | string;
    /**
     * @returns The template for the response links
     */
    protected renderLinks(): TemplateResult | string;
    /**
     * @returns A template for the link
     */
    protected renderLink(link: ApiDefinitions.IApiTemplatedLink): TemplateResult;
    /**
     * @returns The template for the link's operation
     */
    protected renderLinkOperation(operationId?: string): TemplateResult | string;
    /**
     * @returns The template for the link's operation
     */
    protected renderLinkMappings(mappings?: ApiDefinitions.IApiIriTemplateMapping[]): TemplateResult | string;
    /**
     * @returns The template for the link's operation
     */
    protected renderLinkMapping(mapping: ApiDefinitions.IApiIriTemplateMapping): TemplateResult;
}
//# sourceMappingURL=ApiResponseDocument.element.d.ts.map