import { LocaleDateFormatTemplate, SweettoolsLocaleTemplate } from '../types/i18n'; import { SweettoolsPluginConfig } from '../types/lib'; import { DeepRequired, NestedPaths, TypeFromPath } from '../types/utils'; import { FormSchema } from '../../form/types/form'; export declare function useGlobalConfig(formSchema?: FormSchema): { formConfig: globalThis.ComputedRef<{ textOverrides: { requiredMessage: string | ((label: string) => string); nextBtnMessage: string; prevBtnMessage: string; submitBtnMessage: string; cancelBtnMessage: string; }; uiConfig: { showStepper: boolean; showCloseButton: boolean; showCancelButton: string | boolean; showPrevButton: boolean; allowOutsideClick: boolean; overlayOpacity: number; }; onFormRender: ((schema: FormSchema, data?: import('../types/utils').GenericObject) => void) | undefined; }>; permissionValidator: globalThis.ComputedRef<(keys: Array) => boolean>; getProp: > & string>(key: T) => NonNullable, T>>; i18n: { enable: boolean; dateDisplayFormat: Record; dateValueFormat: Record; translations: Record>; }; };