declare type TextFormatConfig = {
    message_format?: Record<string, string>;
    default_format?: string;
};
declare type MustacheRenderType = (format: string, data: any, options1: any, options2: any) => string;
declare const textFormatFactory: (_config: TextFormatConfig, options?: {
    _prependMessageFunctor?: ((formatId: string, render: MustacheRenderType) => string) | undefined;
    _appendMessageFunctor?: ((formatId: string, render: MustacheRenderType) => string) | undefined;
} | undefined) => {
    textFormat: (variable: Record<string, any>, formatId?: string, options?: {
        customTemplate?: string;
    }, deep?: number) => string;
};

export { textFormatFactory };
