import React, { type ComponentType, type ForwardRefExoticComponent, type ComponentRef, type StaticLifecycle, type JSXElementConstructor, type ComponentPropsWithoutRef } from 'react'; import { type Locale } from '../locale/types'; import type { ConfigOptions, ComponentCommonProps, ConfiguredComponentClass, PartialLocale, NonReactStatics, NonBlank } from './types'; export declare function initLocales(locales?: Record): void; export declare function setLanguage(language: string): void; export declare function setLocale(locale: PartialLocale): void; export declare function setDirection(dir: 'ltr' | 'rtl'): void; export declare function getLocale(): PartialLocale; export declare function getLanguage(): string; export declare function getDirection(): boolean | undefined; export type ExcludeComponentStatics = 'prototype' | 'contextType' | keyof StaticLifecycle; export type AnyProps = any; declare function config | ForwardRefExoticComponent | JSXElementConstructor, K extends Exclude, symbol> = never>(Component: C, options?: ConfigOptions, K>): ConfiguredComponentClass & ComponentCommonProps, React.ComponentRef extends never ? undefined : React.ComponentRef, NonBlank, K>>> & NonReactStatics; export { config };