export declare const Kind = "Core#WebApiIndex";
/**
 * @deprecated This was used in the old version of ARC.
 */
export interface ILegacyWebApiIndex {
    /**
     * API title
     */
    title: string;
    /**
     * API media type
     * @deprecated This has been renamed to `vendor`.
     */
    type: string;
    /**
     * API order on the list
     */
    order: number;
    /**
     * List of version names stored with this API.
     */
    versions: string[];
    /**
     * The latest added version name.
     */
    latest: string;
}
export interface IWebApiIndex {
    kind: typeof Kind;
    /**
     * API title
     */
    title: string;
    /**
     * List of version names stored with this API.
     */
    versions: string[];
    /**
     * The latest added version name.
     */
    latest: string;
    /**
     * The API vendor. E.g. RAML 1.0, OAS 3.0, ASYNC 2.0, ...
     */
    vendor: string;
}
export declare class WebApiIndex {
    kind: string;
    /**
     * API title
     */
    title: string;
    /**
     * List of version names stored with this API.
     */
    versions: string[];
    /**
     * The latest added version name.
     */
    latest: string;
    /**
     * The API vendor. E.g. RAML 1.0, OAS 3.0, ASYNC 2.0, ...
     */
    vendor: string;
    static isLegacy(api: unknown): boolean;
    static fromLegacy(api: ILegacyWebApiIndex): WebApiIndex;
    constructor(input?: string | IWebApiIndex);
    new(init: IWebApiIndex): void;
    toJSON(): IWebApiIndex;
}
//# sourceMappingURL=WebApiIndex.d.ts.map