import { SupportedLocales } from '@open-formulieren/types'; import { OFExtensions } from '@open-formulieren/types/dist/extensions'; import { default as React } from 'react'; import { AnyComponentSchema } from '../../types/schemas'; type ExtractTranslatableProperties = T extends OFExtensions ? TK : never; export interface ComponentTranslationsProps { propertyLabels: { [key in ExtractTranslatableProperties]: string; }; ignoreKeysForTranslations?: ExtractTranslatableProperties[]; children?: React.ReactNode; } export interface ComponentTranslationsContextType { activeLanguage: SupportedLocales; } export declare const ComponentTranslationsContext: React.Context; export declare function ComponentTranslations({ propertyLabels, ignoreKeysForTranslations, children, }: ComponentTranslationsProps): import("react/jsx-runtime").JSX.Element; export {};