import { L as Lang } from './shared/fejn-kline.D_0RGm2f.js';
export { c as config } from './shared/fejn-kline.D_0RGm2f.js';

/**
 * 本文件定义了与本地存储交互的工具函数，包括获取、设置和删除缓存项。
 */
/**
 * 获取缓存
 * 尝试从localStorage中获取与给定key关联的项。如果项存在且能被成功解析为JSON对象，则返回该对象；否则返回null。
 * 如果在解析过程中发生错误，将会移除该项并返回null。
 *
 * @param key 缓存key，用于从localStorage中检索项。
 * @returns {Record<string, any> | null} 如果项存在且为有效的JSON对象，则返回该对象；否则返回null。
 */
declare function getStore(key: string): Record<string, any> | null;
/**
 * 设置缓存
 * 将给定的对象转换为JSON字符串，并将其存储在localStorage中，关联到给定的key。
 *
 * @param key 缓存key，用于将项存储在localStorage中。
 * @param obj 要存储的对象，将被转换为JSON字符串。
 */
declare function setStore(key: string, obj: Record<string, any>): void;
/**
 * 删除缓存
 * 从localStorage中移除与给定key关联的项。
 *
 * @param key 缓存key，指定要从localStorage中移除的项。
 */
declare function removeStore(key: string): void;

declare const store_getStore: typeof getStore;
declare const store_removeStore: typeof removeStore;
declare const store_setStore: typeof setStore;
declare namespace store {
  export { store_getStore as getStore, store_removeStore as removeStore, store_setStore as setStore };
}

declare const enLocale: {
    indicator: string;
    select_interval: string;
    edit: string;
    save: string;
    type: {
        0: string;
        1: string;
        2: string;
        3: string;
        8: string;
        9: string;
        10: string;
        12: string;
        13: string;
        14: string;
        15: string;
        16: string;
    };
    timezone: {
        utc: string;
        '-10': string;
        '-9': string;
        '-8': string;
        '-7': string;
        '-6': string;
        '-5': string;
        '-4': string;
        '-3': string;
        '+0': string;
        '+1': string;
        '+2': string;
        '+3': string;
        '+3:30': string;
        '+4': string;
        '+5': string;
        '+5:30': string;
        '+6': string;
        '+7': string;
        '+8': string;
        '+9': string;
        '+10': string;
        '+10:30': string;
        '+11': string;
        '+12': string;
        '+13': string;
        '+13:45': string;
    };
};
declare const locale: Record<`${Lang}`, typeof enLocale>;

/**
 * @file 全屏函数文件
 * 本文件提供了一套用于处理全屏功能的API，兼容多个浏览器的全屏API。
 */
declare const screen: {
    requestFullscreen: (element: any) => any;
    requestFullscreenFunction: (element: any) => any;
    readonly exitFullscreen: any;
    readonly fullscreenPseudoClass: string;
    addEventListener: (type: string, handler: any, options: any) => any;
    removeEventListener: (type: string, handler: any, options: any) => any;
    readonly fullscreenEnabled: boolean;
    readonly fullscreenElement: any;
    onfullscreenchange: any;
    onfullscreenerror: any;
};

declare const styles: {
    light: {
        background: string;
        grid: string;
        price_mark: string;
        cross_line: string;
        scales_text: string;
        scales_line: string;
        tooltip_color: string;
        up: string;
        up_opacity: string;
        down: string;
        down_opacity: string;
        family: string;
        text_size: number;
        crosshair: string;
        crosshair_bg: string;
        ma: string;
    };
    dark: {
        background: string;
        grid: string;
        price_mark: string;
        cross_line: string;
        scales_text: string;
        scales_line: string;
        tooltip_color: string;
        up: string;
        up_opacity: string;
        down: string;
        down_opacity: string;
        family: string;
        text_size: number;
        crosshair: string;
        crosshair_bg: string;
        ma: string;
    };
};

export { locale, screen, store, styles };
