import { ReactNode, InputHTMLAttributes } from 'react';
import { TSizeAll } from '../../types';
export interface IInputProps extends Omit, 'size'> {
/**
* select is in error state
* @example `error={true}` or `error="Error message to display"`
*/
error?: boolean | string;
/**
* label text for input accessibility
*/
label?: string | ReactNode;
/**
* does input have a transparent background?
* @default false
*/
transparent?: boolean;
/**
* set the size of the element
* @default 'md'
*/
size?: TSizeAll;
/**
* slot content in before or after the input
*/
slots?: {
before?: ReactNode;
after?: ReactNode;
};
}
//# sourceMappingURL=types.d.ts.map