import { IDocValue, IKeyObjectValue } from "../components/editor/type";
interface IItem {
    label: string;
    desc?: string;
}
export declare const VERSIONS: {
    label: string;
    version: number;
}[];
export interface ISearchItem {
    label: string;
    key: string;
    index: number;
    group: {
        key: string;
        index: number;
        prefix: string;
        title: string;
    };
}
export interface IContent {
    orirginalName: string;
    name: string;
    args?: IItem[];
    overloads?: string;
    desc?: string[];
    examples?: string;
    detailedDesc?: {
        desc: string[];
        examples?: string;
        originalExample?: string;
    }[];
    returns?: string[];
    remarks?: string[];
    syntax?: (string | undefined)[];
    fields?: IItem[];
    seeAlso?: ({
        name: string;
        link: string;
    } | undefined)[];
    type?: string;
    originalExample?: string;
}
export declare function monarchTokensChange(version: number): Promise<void>;
export declare function transformCodeToHtml(code: string, theme?: string, version?: number): Promise<string>;
export declare function referenceItemHandle(items: IDocValue[], index?: number): Promise<IContent | undefined>;
export declare function querySearch(key: string, contentGroups: any[], manualKeys: IKeyObjectValue, keyMapList: IKeyObjectValue): {
    labelList: ISearchItem[];
    contentList: ISearchItem[];
};
export {};
