import { Variable } from './variables'; /** * Map of data-_gt properties to their corresponding React props */ export declare const HTML_CONTENT_PROPS: { readonly pl: "placeholder"; readonly ti: "title"; readonly alt: "alt"; readonly arl: "aria-label"; readonly arb: "aria-labelledby"; readonly ard: "aria-describedby"; }; export type HtmlContentPropKeysRecord = Partial>; export type HtmlContentPropValuesRecord = Partial>; /** * GTProp is an internal property used to contain data for translating and rendering elements. * note, transformations are only read on the server side if they are 'plural' or 'branch' */ export type GTProp = { b?: Record; t?: 'p' | 'b'; } & HtmlContentPropKeysRecord; export type JsxElement = { t?: string; i?: number; d?: GTProp; c?: JsxChildren; }; export type JsxChild = string | JsxElement | Variable; /** * The format of the string content */ export type StringFormat = 'ICU' | 'I18NEXT' | 'STRING'; /** * The format of the content. */ export type DataFormat = 'JSX' | StringFormat; /** * String format content. */ export type StringContent = IcuMessage | StringMessage | I18nextMessage; /** * A content type representing JSX, ICU, and I18next messages. */ export type Content = JsxChildren | StringContent; /** * A content type representing JSX elements. */ export type JsxChildren = JsxChild | JsxChild[]; /** * A content type representing ICU messages. */ export type IcuMessage = string; /** * A content type representing I18next messages. */ export type I18nextMessage = string; /** * A content type representing plain strings. */ export type StringMessage = string;