import { ComponentPublicInstance } from 'vue';
import { IInputProps } from '../ATextField/models';

export declare const useInput: <T>(props: IInputProps<T>, emit: (event: "update:modelValue", value?: T) => void) => {
    textFieldRef: import('vue').Ref<ComponentPublicInstance, ComponentPublicInstance>;
    innerInput: import('vue').Ref<T, T>;
    updatedProps: import('vue').ComputedRef<{
        [x: string]: unknown;
    }>;
    handleChange: () => void;
    handleInput: (text: T) => void;
    handleEnter: () => void;
    handleClear: () => void;
    focus: () => void;
};
