/** * 全局配置管理 */ import type { SmartTableConfig } from './types'; /** * 全局配置类 */ declare class ConfigManager { private config; private _initialized; /** * 是否已初始化 */ get initialized(): boolean; /** * 初始化(注册内置渲染器) */ init(): void; /** * 获取所有配置 */ getConfig(): SmartTableConfig; /** * 设置配置 */ setConfig(config: Partial): void; /** * 获取特定配置项 */ get(key: K): SmartTableConfig[K]; /** * 重置为默认配置 */ reset(): void; /** * 深度合并配置 */ private mergeConfig; } /** * 获取全局配置管理器 */ export declare function getConfigManager(): ConfigManager; /** * 安装插件(用于 Vue.use()) */ export interface SmartTablePlugin { install: (options?: SmartTableConfig) => void; } /** * 创建插件实例 */ export declare function createSmartTablePlugin(defaultOptions?: SmartTableConfig): SmartTablePlugin; /** * 全局配置快捷方法 */ export declare function setSmartTableConfig(config: Partial): void; export declare function getSmartTableConfig(): SmartTableConfig; export {};