import { type PropsWithChildren } from 'react';
/**
 * Allow ambient extension from application consumer.
 */
declare global {
    namespace TUI {
        interface Config {
            locale?: string;
        }
    }
}
export declare const TridentUIConfigProvider: ({ children, value, }: PropsWithChildren<{
    value: TUI.Config;
}>) => import("react/jsx-runtime").JSX.Element;
export declare function useConfig(): {
    config: TUI.Config;
    get<Value = unknown>(key: string, defaultValue: Value): Value | undefined;
};
export declare function useLocale(): "fr-FR" | undefined;
