import type { HTMLInputAttributes } from 'svelte/elements';
import type { ClassNameType, KitClassNameType, KitStylePropertiesType, StylePropertiesType } from '../../@types';
import type { FieldBaseProps } from '../field/field.types';
type FieldOwnedAttributes = keyof FieldBaseProps | 'size' | 'type' | 'value' | 'min' | 'max';
export interface TextfieldProps extends FieldBaseProps, Omit {
ref?: HTMLElement | null;
class?: ClassNameType;
style?: StylePropertiesType;
's-class'?: KitClassNameType;
's-style'?: KitStylePropertiesType;
value?: string | number;
type?: 'text' | 'email' | 'password' | 'number' | 'search' | 'tel' | 'url';
/** minimal length of the value */
min?: number;
/** maximal length of the value, also used by the counter */
max?: number;
counter?: boolean;
hideSpinButtons?: boolean;
}
export {};