import { TFunction } from './use-translation';
import { default as React, ReactNode, ReactElement } from 'react';

export declare const stringComponentInsert: (_source: string | (string | ReactNode)[], toMatch: string | RegExp, callback: (match: string, index: number) => string | ReactElement) => (string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal | null | undefined)[];
interface Components {
    [key: string]: JSX.Element;
}
type ComponentArray = JSX.Element[];
type ComponentMap = Components | ComponentArray;
interface TransProps {
    t: TFunction;
    i18nKey: string;
    defaults?: string;
    values?: Record<string, any | undefined>;
    components?: ComponentMap;
    context?: string;
    className?: string;
}
export declare const Trans: React.FunctionComponent<TransProps>;
export {};
//# sourceMappingURL=trans.d.ts.map