import { PropsWithChildren } from 'react';
import { TransformerFunction } from '../../Utils';
import { BaseFormElement } from '../Form.models';
export interface ReadOnlyFieldProps<T = any> extends BaseFormElement {
    /** Value to be displayed */
    value?: any;
    /** Transform functions */
    transform?: TransformerFunction<T>;
    /** Sets whether the field should not be visible if the value is empty (default: false) */
    hideIfEmpty?: boolean;
}
/**
 * This component renders a read only field into a form.
 * @props **transform**: an array of transform functions which will be executed sequentially during render time passing the output from each function to the next.
 * The last transform function must return a single object or array of a type which can be rendered directly _( i.e. string | number | string[] | number[] )_.
 */
export declare const ReadOnlyField: <T>({ value, transform, className, hideIfEmpty, ...rest }: PropsWithChildren<ReadOnlyFieldProps<T>>) => JSX.Element;
//# sourceMappingURL=ReadOnlyField.d.ts.map