import { type CSSProperties } from 'react'; import type { ThemeVars } from '@coinbase/cds-common/core/theme'; import type { ResponsiveProp } from '../styles/styleProps'; import { type PressableProps } from '../system/Pressable'; import type { ControlBaseProps } from './Control'; export type CheckboxCellBaseProps = Omit< PressableProps<'label'>, 'title' | 'onChange' > & Omit< ControlBaseProps, 'onChange' | 'title' | 'children' | 'iconStyle' | 'labelStyle' | 'checked' > & { checked?: boolean; /** * Sets the outer checkbox control size in pixels. * @default theme.controlSize.checkboxSize */ controlSize?: number; title: React.ReactNode; description?: React.ReactNode; onChange?: (inputChangeEvent: React.ChangeEvent) => void; columnGap?: ResponsiveProp; rowGap?: ResponsiveProp; /** Custom ID for the title element. If not provided, a unique ID will be generated. */ titleId?: string; /** Custom ID for the description element. If not provided, a unique ID will be generated. */ descriptionId?: string; }; export type CheckboxCellProps = CheckboxCellBaseProps & { classNames?: { /** Root element */ root?: string; /** Checkbox input container element */ checkboxContainer?: string; /** Title text element */ title?: string; /** Description text element */ description?: string; /** Content container element */ contentContainer?: string; }; styles?: { /** Root element */ root?: CSSProperties; /** Checkbox input container element */ checkboxContainer?: CSSProperties; /** Title text element */ title?: CSSProperties; /** Description text element */ description?: CSSProperties; /** Content container element */ contentContainer?: CSSProperties; }; }; declare const CheckboxCellWithRef: ( props: CheckboxCellProps & { ref?: React.Ref; }, ) => React.ReactElement; export declare const CheckboxCell: typeof CheckboxCellWithRef & React.MemoExoticComponent; export {}; //# sourceMappingURL=CheckboxCell.d.ts.map