/**
 * @license
 * Copyright 2021 JBoss Inc
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { ChangeDetectorRef } from "@angular/core";
import { Aai20Schema, AaiDocument, AaiMessage, SimplifiedType } from "apicurio-data-models";
import { CommandService } from "../../../../_services/command.service";
import { DocumentService } from "../../../../_services/document.service";
import { AbstractBaseComponent } from "../../../common/base-component";
import { SelectionService } from "../../../../_services/selection.service";
import { EditExampleEvent } from "../../../dialogs/edit-aai-example.component";
export declare class PayloadTabComponent extends AbstractBaseComponent {
    private changeDetectorRef;
    private documentService;
    private commandService;
    private selectionService;
    message: AaiMessage;
    protected _model: SimplifiedType;
    protected editing: boolean;
    protected tab: string;
    constructor(changeDetectorRef: ChangeDetectorRef, documentService: DocumentService, commandService: CommandService, selectionService: SelectionService);
    model(): SimplifiedType;
    updateModel(): void;
    document(): AaiDocument;
    toggleTab(tab: string): void;
    isEditing(): boolean;
    isEditingTab(tab: string): boolean;
    toggleType(): void;
    toggleExamples(): void;
    isEditingType(): boolean;
    isEditingExamples(): boolean;
    messageHasExamples(): boolean;
    messageExamples(): any[];
    displayType(): SimplifiedType;
    displayExamples(): string;
    changeRefType(newType: SimplifiedType): void;
    schemaForExamplePayload(): Aai20Schema;
    schemaForExampleHeaders(): Aai20Schema;
    exampleName(example: any): string;
    examplePayloadValue(example: any): string;
    exampleHeadersValue(example: any): string;
    addExample(exampleData: any): void;
    editExample(event: EditExampleEvent): void;
    deleteExample(example: any): void;
    deleteAllExamples(): void;
}
