import { App, MaybeRef, Ref } from 'vue';
import { ConfigProviderContext } from '../interface';
export declare function useGlobalConfig<K extends keyof ConfigProviderContext, D extends ConfigProviderContext[K]>(key: K, defaultValue?: D): Ref<Exclude<ConfigProviderContext[K], undefined> | D>;
export declare function useGlobalConfig(): Ref<ConfigProviderContext>;
export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContext>, app?: App, global?: boolean) => import('vue').ComputedRef<Partial<import('../interface').ConfigProviderProps>> | undefined;
export declare const useConfigProvider: (block: string) => {
    ns: {
        name: string;
        namespace: import('vue').ComputedRef<string>;
        b: (blockSuffix?: string) => string;
        e: (element?: string | undefined) => string;
        m: (modifier?: string | undefined) => string;
        be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
        em: (element?: string | undefined, modifier?: string | undefined) => string;
        bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
        bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
        is: (name: string, ...args: [] | [boolean | undefined]) => string;
        cssVar: (object: Record<string, string>) => Record<string, string>;
        cssVarBlock: (object: Record<string, string>) => Record<string, string>;
        cssVarName: (name: string) => string;
        cssVarBlockName: (name: string) => string;
    };
    locale: import('../../../locale').LocaleContext;
    zIndex: {
        initialZIndex: import('vue').ComputedRef<number>;
        currentZIndex: import('vue').ComputedRef<number>;
        nextZIndex: () => number;
    };
    themeOverrides: import('naive-ui').GlobalThemeOverrides | undefined;
};
//# sourceMappingURL=use-global-config.d.ts.map