import { VariableType } from 'generaltranslation/types'; /** * These are the names of the variable components as they appear in gt-next and gt-react */ export declare const defaultVariableNames: { readonly Var: "value"; readonly GtInternalVar: "value"; readonly Num: "n"; readonly DateTime: "date"; readonly RelativeTime: "time"; readonly Currency: "cost"; }; /** * Minify the variable type from the name of the variable component (from gt-next and gt-react) * @param variableType - The type of the variable (Var, Num, DateTime, Currency) * @returns The minified variable type */ export declare const minifyVariableType: (variableType: keyof typeof defaultVariableNames) => VariableType; export declare const baseVariablePrefix = "_gt_"; /** * Get the name of a variable * @param props - The props of the variable * @param variableType - The type of the variable (Var, Num, DateTime, Currency) * @param id - The id of the variable * @returns The name of the variable */ export declare function getVariableName(props: Record | undefined, variableType: keyof typeof defaultVariableNames, id: number): string;