import { IIndexedNode } from '../../../core/models/IIndexedNode';
import { Node } from '../../../core/models/Node';
import { IVisitor } from '../../../core/visitors/IVisitor';
/**
 * Constructor.
 * @class
 * @extends Node
 * @author eric.wittmann@gmail.com
 */
export declare class Oas20Headers extends Node implements IIndexedNode<Oas20Header> {
    items: any;
    constructor();
    /**
     * @see io.apicurio.datamodels.core.models.Node#accept(io.apicurio.datamodels.core.visitors.IVisitor)
     * @param {*} visitor
     */
    accept(visitor: IVisitor): void;
    /**
     * Creates a header model.
     * @param {string} headerName
     * @return {Oas20Header}
     */
    createHeader(headerName: string): Oas20Header;
    /**
     * Gets a single header by name.
     * @param {string} headerName
     * @return {Oas20Header}
     */
    getHeader(headerName: string): Oas20Header;
    /**
     * Returns an array of all the headers.
     * @return {Oas20Header[]}
     */
    getHeaders(): Array<Oas20Header>;
    /**
     * Returns all the header names.
     * @return {string[]}
     */
    getHeaderNames(): Array<string>;
    /**
     * Removes a single header.
     * @param {string} headerName
     * @return {Oas20Header}
     */
    removeHeader(headerName: string): Oas20Header;
    /**
     * Adds a header.
     * @param {string} headerName
     * @param {Oas20Header} header
     * @return {Oas20Header}
     */
    addHeader(headerName: string, header: Oas20Header): Oas20Header;
    /**
     * @see io.apicurio.datamodels.core.models.IIndexedNode#getItem(java.lang.String)
     * @param {string} name
     * @return {Oas20Header}
     */
    getItem(name: string): Oas20Header;
    /**
     * @see io.apicurio.datamodels.core.models.IIndexedNode#getItems()
     * @return {Oas20Header[]}
     */
    getItems(): Array<Oas20Header>;
    /**
     * @see io.apicurio.datamodels.core.models.IIndexedNode#getItemNames()
     * @return {string[]}
     */
    getItemNames(): Array<string>;
    addItem$java_lang_String$io_apicurio_datamodels_openapi_v2_models_Oas20Header(name: string, item: Oas20Header): void;
    /**
     * @see io.apicurio.datamodels.core.models.IIndexedNode#addItem(java.lang.String, io.apicurio.datamodels.core.models.Node)
     * @param {string} name
     * @param {Oas20Header} item
     */
    addItem(name?: any, item?: any): any;
    /**
     * @see io.apicurio.datamodels.core.models.IIndexedNode#deleteItem(java.lang.String)
     * @param {string} name
     * @return {Oas20Header}
     */
    deleteItem(name: string): Oas20Header;
}
import { Oas20Header } from './Oas20Header';
