import { ComputedRef, MaybeRef, ShallowRef } from 'vue';
import { configProviderKey, DEFAULT_NAMESPACE, DEFAULT_SIZE, DEFAULT_Z_INDEX, ComponentSize } from '../../../xiaoye-primitives/index.js';
import { DialogGlobalConfig } from '../../dialog/src/dialog.js';
import { LoadingGlobalConfig } from '../../loading/src/types.js';
import { MessageGlobalConfig } from '../../message/src/message.js';
import { NotificationGlobalConfig } from '../../notification/src/notification.js';
export { configProviderKey, DEFAULT_NAMESPACE, DEFAULT_SIZE, DEFAULT_Z_INDEX };
export interface ConfigProviderContext {
    namespace: ComputedRef<string>;
    locale: ComputedRef<Record<string, string>>;
    zIndex: ComputedRef<number>;
    size: ComputedRef<ComponentSize>;
    dialog: ComputedRef<DialogGlobalConfig>;
    loading: ComputedRef<LoadingGlobalConfig>;
    message: ComputedRef<MessageGlobalConfig>;
    notification: ComputedRef<NotificationGlobalConfig>;
}
export interface ConfigProviderProps {
    namespace?: string;
    locale?: Record<string, string>;
    zIndex?: number;
    size?: ComponentSize;
    dialog?: DialogGlobalConfig;
    loading?: LoadingGlobalConfig;
    message?: MessageGlobalConfig;
    notification?: NotificationGlobalConfig;
}
export declare function resolveMaybeRef<T>(value: MaybeRef<T>): MaybeRef<T>;
export declare function createConfigProviderContext(options?: ConfigProviderProps): ConfigProviderContext;
export declare function registerGlobalDialogConfig(id: string, value: DialogGlobalConfig): void;
export declare function updateGlobalDialogConfig(id: string, value: DialogGlobalConfig): void;
export declare function unregisterGlobalDialogConfig(id: string): void;
export declare function getGlobalDialogConfig(): ShallowRef<DialogGlobalConfig, DialogGlobalConfig>;
export declare function registerGlobalLoadingConfig(id: string, value: LoadingGlobalConfig): void;
export declare function updateGlobalLoadingConfig(id: string, value: LoadingGlobalConfig): void;
export declare function unregisterGlobalLoadingConfig(id: string): void;
export declare function getGlobalLoadingConfig(): ShallowRef<LoadingGlobalConfig, LoadingGlobalConfig>;
export declare function registerGlobalMessageConfig(id: string, value: MessageGlobalConfig): void;
export declare function updateGlobalMessageConfig(id: string, value: MessageGlobalConfig): void;
export declare function unregisterGlobalMessageConfig(id: string): void;
export declare function getGlobalMessageConfig(): ShallowRef<MessageGlobalConfig, MessageGlobalConfig>;
export declare function getGlobalMessageConfigCount(): number;
export declare function registerGlobalNotificationConfig(id: string, value: NotificationGlobalConfig): void;
export declare function updateGlobalNotificationConfig(id: string, value: NotificationGlobalConfig): void;
export declare function unregisterGlobalNotificationConfig(id: string): void;
export declare function getGlobalNotificationConfig(): ShallowRef<NotificationGlobalConfig, NotificationGlobalConfig>;
export declare function getGlobalNotificationConfigCount(): number;
