import { Component } from 'vue';

type ComponentLoader = () => Promise<any>;
/**
 * 弹窗组件注册中心
 * 负责管理所有可用的弹窗组件，支持懒加载和动态注册
 */
export declare class DialogRegistry {
    private components;
    private static instance;
    private constructor();
    /**
     * 获取单例实例
     */
    static getInstance(): DialogRegistry;
    /**
     * 注册组件
     * @param type 组件类型标识
     * @param loader 组件加载函数或组件对象
     */
    register(type: string, loader: ComponentLoader | Component): void;
    /**
     * 获取组件
     * @param type 组件类型标识
     */
    get(type: string): Component | undefined;
    /**
     * 检查组件是否已注册
     * @param type 组件类型标识
     */
    has(type: string): boolean;
    /**
     * 获取所有注册的组件类型
     */
    getRegisteredTypes(): string[];
}
export declare const dialogRegistry: DialogRegistry;
export {};
//# sourceMappingURL=registry.d.ts.map