import type { BaseProps, ElSizeType } from '../../types'; import type { OptionsResultType, OptionsType, LOCALE_TYPE } from "./type"; export declare const configOptions: import("vue").Ref<{ theme: { primary?: string; success?: string; warning?: string; danger?: string; info?: string; light?: string; dark?: string; white?: string; black?: string; gray?: string; border?: string; borderLight?: string; borderDark?: string; borderWhite?: string; borderBlack?: string; borderGray?: string; borderPrimary?: string; }; elSize: ElSizeType; loadingOptions?: { custom?: typeof import("web-loading").BaseModel; type?: import("web-loading").LOADING_TYPES; extendClass?: string; model?: import("web-loading").MODEL_TYPES; html?: string; text?: string; textGap?: number; fontSize?: number; fontFamily?: string; delay?: number; delayInto?: number; notFeel?: number; optimization?: boolean; zIndex?: string; themeColor?: string; bgColor?: string; shadowColor?: string; shadowOffsetX?: number; shadowOffsetY?: number; shadowBlur?: number; pointerEvents?: boolean; toast?: boolean; }; locale?: LOCALE_TYPE; }, OptionsType | { theme: { primary?: string; success?: string; warning?: string; danger?: string; info?: string; light?: string; dark?: string; white?: string; black?: string; gray?: string; border?: string; borderLight?: string; borderDark?: string; borderWhite?: string; borderBlack?: string; borderGray?: string; borderPrimary?: string; }; elSize: ElSizeType; loadingOptions?: { custom?: typeof import("web-loading").BaseModel; type?: import("web-loading").LOADING_TYPES; extendClass?: string; model?: import("web-loading").MODEL_TYPES; html?: string; text?: string; textGap?: number; fontSize?: number; fontFamily?: string; delay?: number; delayInto?: number; notFeel?: number; optimization?: boolean; zIndex?: string; themeColor?: string; bgColor?: string; shadowColor?: string; shadowOffsetX?: number; shadowOffsetY?: number; shadowBlur?: number; pointerEvents?: boolean; toast?: boolean; }; locale?: LOCALE_TYPE; }>; /** * 初始化全局配置api * @returns {OptionsType} 初始化的配置选项 */ export declare function initOptions(): OptionsType; /** * 抛出全局配置api * @param {BaseProps} props - 组件props(可选,用于获取组件默认props属性) * @returns {OptionsResultType} 配置操作方法和状态 */ export declare function useOptions(props?: BaseProps): OptionsResultType;