import { ButtonHTMLAttributes } from 'react';
import { CSSObject } from 'styled-components';
import { CSSProperties } from 'react';
import { default as default_2 } from 'react';
import { DefaultTheme } from 'styled-components';
import { DetailedHTMLProps } from 'react';
import { FC } from 'react';
import { IStyledComponentBase } from 'styled-components/dist/types';
import { PropsWithChildren } from 'react';
import { RuleSet } from 'styled-components';
import { Substitute } from 'styled-components/dist/types';
declare type AddDollarSign = {
[K in keyof T as `$${string & K}`]: T[K];
};
declare interface addErrorProps {
error?: ErrorMessageProps;
}
declare type addErrorStylesProps = AddDollarSign;
declare type addFontProps = {
font?: FontSizeStylesProps;
};
declare type addIconProps = {
[T in keyof DefaultTheme['icon']['map']]: Omit & {
type: T;
name: DefaultTheme['icon']['map'][T][number];
isHidden?: boolean;
size?: IconItemProps['size'];
};
}[keyof DefaultTheme['icon']['map']];
declare type addOutlineProps = {
isReadOnly?: boolean;
isDisabledOutline?: boolean;
isOutlineBoxShadow?: boolean;
};
declare type addOutlinePropsDollar = AddDollarSign;
declare interface addSXProps {
sx?: SXProps;
}
declare type addSXStyleProps = AddDollarSign;
declare type addSXTypographyProps = {
sxTypography?: TypographySXProps;
};
declare type addSXTypographyStyleProps = AddDollarSign;
export declare const Checkbox: FC;
/****************************************** Genre *************************************************/
export declare const CheckboxGenre: RuleSet;
export declare type CheckboxProps = PropsWithChildren & {
checked?: boolean;
genre: TCheckboxGenre;
view: {
true: addIconProps;
false: addIconProps;
};
isDisabled?: boolean;
isOnlyLoading?: boolean;
isLoading?: boolean;
isHiddenBorder?: boolean;
isNotBackground?: boolean;
onChange?: (checked: boolean) => void;
isWidthAsHeight?: boolean;
size: IThemeSize;
} & addSXProps & addErrorProps & addSXTypographyProps & addOutlineProps & addFontProps;
/****************************************** Size *************************************************/
export declare const CheckboxSize: RuleSet;
export declare const CheckboxSizeConstructor: (props: IThemeSizePropertyDefault & {
isWidthAsHeight?: boolean;
}) => RuleSet