import { BaseFormControl, SingleLineTextProps } from '../../../FormElements';
export interface BaseRendererConfig {
    /** id html element id attribute */
    id?: BaseFormControl['id'];
    /** element name attribute */
    name?: BaseFormControl['name'];
    /** element placeholder attribute */
    placeholder?: string;
    /** Optional transformer that will change the final value to match the return value */
    transform?: (value: string) => unknown;
    /** Optional autofocus on render (default: false) */
    autofocus?: boolean;
}
export interface CreateInputRendererConfig extends BaseRendererConfig {
    /** Input element type */
    type?: SingleLineTextProps['type'];
    /** optional transformer that will change the current value with each keypress. does not work with 'mask' prop. mainly used for trim(). */
    transform?: (value: string) => unknown;
}
export interface CreateSelectRendererConfig extends BaseRendererConfig {
    /** Array of options that can be selected from */
    options?: {
        value: string | number;
        label: string;
    }[];
    /** A value set at initialization and after each time data has been added to the DynamicList component
     * This property should always match a value from the options array
     */
    defaultValue?: string;
}
//# sourceMappingURL=renderers.model.d.ts.map