import React from 'react';
import type { ComponentTheme } from '../theme';
export default function Factory
(Component: React.ComponentType
, componentTheme?: ComponentTheme): React.ForwardRefExoticComponent & {
children?: string | JSX.Element | JSX.Element[] | undefined;
_state?: {
readonly isIndeterminate?: boolean | undefined;
readonly isChecked?: boolean | undefined;
readonly isReadOnly?: boolean | undefined;
readonly isInvalid?: boolean | undefined;
readonly isFocused?: boolean | undefined;
readonly isFocusVisible?: boolean | undefined;
readonly isHovered?: boolean | undefined;
readonly isPressed?: boolean | undefined;
readonly isDisabled?: boolean | undefined;
readonly isLoading?: boolean | undefined;
} | undefined;
}> & React.RefAttributes>;