import { TdInputProps } from './type'; export interface UseLengthLimitParams { value: string; maxlength: number; maxcharacter: number; allowInputOverMax: boolean; status: TdInputProps['status']; onValidate: TdInputProps['onValidate']; } export default function useLengthLimit(params: UseLengthLimitParams): { tStatus: string; limitNumber: () => string; getValueByLimitNumber: (inputValue: string) => string; onValidateChange: () => void; };