import { ExtensibleNode } from '../../core/models/ExtensibleNode';
import { IIndexedNode } from '../../core/models/IIndexedNode';
import { IVisitor } from '../../core/visitors/IVisitor';
/**
 * Modles the OpenAPI paths.
 * @author eric.wittmann@gmail.com
 * @class
 * @extends ExtensibleNode
 */
export declare abstract class OasPaths extends ExtensibleNode implements IIndexedNode<OasPathItem> {
    _pathItems: any;
    /**
     * @see io.apicurio.datamodels.core.models.Node#accept(io.apicurio.datamodels.core.visitors.IVisitor)
     * @param {*} visitor
     */
    accept(visitor: IVisitor): void;
    /**
     * Returns a single path item by name.
     * @param {string} name
     * @return {OasPathItem}
     */
    getPathItem(name: string): OasPathItem;
    /**
     * Returns an array of all the path items.
     * @return {OasPathItem[]}
     */
    getPathItems(): Array<OasPathItem>;
    /**
     * Adds a path item.
     * @param {string} name
     * @param {OasPathItem} pathItem
     * @return {OasPathItem}
     */
    addPathItem(name: string, pathItem: OasPathItem): OasPathItem;
    /**
     * Gets a list of all the path names.
     * @return {string[]}
     */
    getPathItemNames(): Array<string>;
    /**
     * Removes a single path item child model by name.
     * @param {string} path
     * @return {OasPathItem}
     */
    removePathItem(path: string): OasPathItem;
    /**
     * Creates an OAS path item object.
     * @param {string} path
     * @return {OasPathItem}
     */
    abstract createPathItem(path: string): OasPathItem;
    addItem$java_lang_String$io_apicurio_datamodels_openapi_models_OasPathItem(name: string, item: OasPathItem): void;
    /**
     * @see io.apicurio.datamodels.core.models.IIndexedNode#addItem(java.lang.String, io.apicurio.datamodels.core.models.Node)
     * @param {string} name
     * @param {OasPathItem} item
     */
    addItem(name?: any, item?: any): any;
    /**
     * @see io.apicurio.datamodels.core.models.IIndexedNode#deleteItem(java.lang.String)
     * @param {string} name
     * @return {OasPathItem}
     */
    deleteItem(name: string): OasPathItem;
    /**
     * @see io.apicurio.datamodels.core.models.IIndexedNode#getItem(java.lang.String)
     * @param {string} name
     * @return {OasPathItem}
     */
    getItem(name: string): OasPathItem;
    /**
     * @see io.apicurio.datamodels.core.models.IIndexedNode#getItemNames()
     * @return {string[]}
     */
    getItemNames(): Array<string>;
    /**
     * @see io.apicurio.datamodels.core.models.IIndexedNode#getItems()
     * @return {OasPathItem[]}
     */
    getItems(): Array<OasPathItem>;
    constructor();
}
import { OasPathItem } from './OasPathItem';
