import { ButtonGroupProps } from '../button'; import React from 'react'; import { ToggleButtonVariantProps } from './toggle-button.styles'; export type ToggleButtonGroupProps = ToggleButtonVariantProps & Omit & (Exclusive extends true ? { exclusive: Exclusive; value?: string | null; defaultValue?: string; onChange?: (value: string | null) => void; } : { exclusive?: Exclusive; value?: string[]; defaultValue?: string[]; onChange?: (value: string[]) => void; }); interface GroupCtxProps { value: string | null | string[]; setValue: (next: React.SetStateAction, payload?: unknown) => void; exclusive: boolean; } declare const useToggleButtonCtx: (consumerName: string) => GroupCtxProps; declare const useToggleButtonStyles: (consumerName: string) => { button: (slotProps?: ({ color?: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | undefined; } & import("tailwind-variants").ClassProp) | undefined) => string; } & { button: (slotProps?: ({ color?: "default" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | undefined; } & import("tailwind-variants").ClassProp) | undefined) => string; } & {}; export { useToggleButtonCtx, useToggleButtonStyles }; export declare const ToggleButtonGroupImpl: { (props: ToggleButtonGroupProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export declare const ToggleButtonGroup: (props: ToggleButtonGroupProps) => React.ReactNode; //# sourceMappingURL=toggle-button-group.d.ts.map