import { ButtonVariant } from "./useButton"; import { FormEvent, ForwardedRef, MouseEvent } from "react"; export declare type ToggleButtonVariant = Omit; export interface UseToggleButtonProps { active?: boolean; checked?: boolean | null; defaultChecked?: boolean; forwardedRef?: ForwardedRef; isCheckable: boolean; onChange?: (event: FormEvent, isChecked: boolean) => void; onCheck?: (event: FormEvent, value: string) => void; value?: string; variant?: ToggleButtonVariant; } export declare function useToggleButton({ active, checked, defaultChecked, forwardedRef, isCheckable, onChange, onCheck, value, variant }: UseToggleButtonProps): { buttonProps: { [x: string]: string | boolean | ((instance: any) => void) | import("react").MutableRefObject; active: boolean; onClick: (event: MouseEvent) => void; ref: ForwardedRef; value: string; variant: ButtonVariant; }; isChecked: boolean; };