import { editor } from "monaco-editor";
import { IKeyObjectValue } from "../type";
type ITimeVec = [string, number, number, number, number];
export declare function getTypeOriginName(type: string): string;
export declare function removeContextMenu(editor: editor.IStandaloneCodeEditor): void;
export declare function getContents(version?: number): Promise<typeof import("../v3/constants") | undefined>;
export declare function getMonarchTokens(version?: number): Promise<typeof import("../v3/config/monarchTokens") | undefined>;
export declare function getCurrentVersionFirstName(version: number, prefix?: string): string;
export declare function parseInfoId(infoId?: string): string;
export declare function getParseTimestamp(str: string, isMilli?: boolean): number;
export declare function getParseDate(timestamp: number, isDay: boolean, isMilli?: boolean): number;
export declare function splitNumberLetter(str: string): {
    number: string;
    letter: string;
} | null;
export declare function period2FuturesPeriod(str: string): {
    period: string;
    type: string;
    baseKlineCount: number;
} | {
    period: number;
    type: string;
    baseKlineCount: number;
};
export declare function getMovePeriodTimestamp(timestamp: number, interval: string): number;
export declare function getIsFutures(symbol: string): boolean;
export declare function mergeKlineData(baseList: IKeyObjectValue[], lastHistoryLine: IKeyObjectValue, period: string, isSubscriber: boolean, startTime: number, preLineData?: IKeyObjectValue, tradeSessions?: ITimeVec[] | string): {
    newLines: IKeyObjectValue[];
    preData: IKeyObjectValue | undefined;
};
export declare function offsetTimeParser(session: string, timezone: string, tickerid?: string): {
    offsetTime: number;
    hasNight?: undefined;
    sessions?: undefined;
    isFutures?: undefined;
} | {
    offsetTime: number;
    hasNight: boolean;
    sessions: any;
    isFutures: boolean;
};
export declare function getKlineTime(lineNumber: number, timeVec?: ITimeVec[]): number;
export {};
