import type { ButtonInfo } from '..'; import type { ButtonSlotProps, ButtonTokens, ButtonProps } from '../Button.types'; export declare const toggleButtonName = "ToggleButton"; export interface ToggleButtonTokens extends ButtonTokens { checked?: ToggleButtonTokens; } export interface ToggleButtonProps extends ButtonProps { /** * Defines the controlled checked state of the `ToggleButton`. * Mutually exclusive to `defaultChecked`. * This should only be used if the checked state is to be controlled at a higher level and there is a plan to pass the * correct value based on handling `onClick` events and re-rendering. */ checked?: boolean; /** * Defines whether the `ToggleButton` is inititally in a checked state or not when rendered. * Mutually exclusive to `checked`. */ defaultChecked?: boolean; } export interface ToggleButtonInfo extends ButtonInfo { state: ButtonInfo['state'] & { /** * Whether the ToggleButton is toggled or not */ checked?: boolean; }; } export type ToggleButtonSlotProps = ButtonSlotProps; export interface ToggleButtonType { props: ToggleButtonProps; tokens: ToggleButtonTokens; slotProps: ToggleButtonSlotProps; } //# sourceMappingURL=ToggleButton.types.d.ts.map