import React from 'react'; type KebabCase = S extends `${infer First}${infer Rest}` ? Rest extends Uncapitalize ? `${Uncapitalize}${KebabCase}` : `${Uncapitalize}-${KebabCase}` : S; export type ExcludeMatchingProperties> = Pick; export type CustomInputEvent = InputEvent & { target: HTMLSelectElement; }; export type ComponentSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl'; export type InputType = 'number' | 'email' | 'text' | 'password'; export type TextAlign = 'left' | 'right' | 'center'; export type LayoutDirection = 'horizontal' | 'vertical'; export type FlexAlignment = 'start' | 'center' | 'end'; export type HTMLInputAttrs = Omit; export type DescopeInputExtraProps = { 'full-width'?: boolean; bordered?: boolean; label?: string; placeholder?: string; size?: ComponentSize; 'helper-text'?: string; 'data-errormessage-pattern-mismatch'?: string; 'data-errormessage-value-missing'?: string; 'label-type'?: LabelType; 'external-input'?: boolean; }; export type DescopeInputProps = HTMLInputAttrs & DescopeInputExtraProps; export type PropsToAttrs> = { [K in keyof R as KebabCase]: R[K] | string; }; export type TypographyVariants = 'h1' | 'h2' | 'h3' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2'; export type Mode = 'primary' | 'secondary' | 'error' | 'success'; export type MultiSelectProps = { children?: React.JSX.Element[]; 'default-values'?: string[]; }; export type LabelType = 'static' | 'floating'; export type CaptchaVariants = 'text' | 'image' | 'widget' | 'hide'; export {};