import { default as React, InputHTMLAttributes, Ref } from 'react';
type BasicInputProps = Omit, 'value' | 'onChange'> & {
value?: string;
onChange?: React.ChangeEventHandler;
label?: string;
decoration?: React.ReactNode;
errorValidation?: InputValidator[];
logRocketMasking?: boolean;
focus?: boolean;
focusedAnimation?: boolean;
format?: string;
ref?: Ref;
};
interface InputValidator {
condition: (value: string) => boolean;
errorText: string;
}
/**
* @description input decoration은 항상 오른쪽에 위치해 있다.
*/
declare const BaseInput: ({ ref: forwardedRef, ...props }: BasicInputProps) => React.JSX.Element;
export type { BasicInputProps, InputValidator };
export { BaseInput };
//# sourceMappingURL=index.d.ts.map