UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

15 lines (14 loc) 465 B
import type { StringWithSuggest } from "../../types/utils.js"; export declare enum Lang { Ru = "ru", En = "en" } interface Config { lang: StringWithSuggest<Lang>; fallbackLang: StringWithSuggest<Lang>; } type Subscriber = (config: Config) => void; export declare const configure: (newConfig: Partial<Config>) => void; export declare const subscribeConfigure: (sub: Subscriber) => () => void; export declare const getConfig: () => Config; export {};