import { FunctionalComponent } from '../../stencil-public-runtime';
import { FormInput } from '../../models/form-input';
import { ValidatorError } from '../../utils/validator';
interface Props {
    el: FormInput;
    disabled?: boolean;
    hasFocus?: boolean;
    hover?: boolean;
    info?: string;
    label?: string;
    name?: string;
    tooltip?: string;
    validation?: string;
}
interface InputCreator extends FunctionalComponent {
    getProps: () => Props;
    handleInput: () => void;
    reset: () => void;
    validate: (silent?: boolean) => Promise<ValidatorError[]>;
}
export declare const getInputCreator: <T extends any>(component: T, onerror?: (error: string) => any) => InputCreator;
export {};
