import type { ToggleGroupProps } from "./ToggleGroup.types.js";
import type { useToggleGroup } from "./useToggleGroup.js";
interface ToggleContextProps {
    size: "medium" | "small";
}
export declare const ToggleGroupContext: import("react").Context<ToggleContextProps | null>;
type ToggleGroupProviderProps = ReturnType<typeof useToggleGroup> & Pick<ToggleGroupProps, "size">;
export declare const ToggleGroupProvider: import("react").FC<{
    selectedValue: string;
    setSelectedValue: (next: string | ((prevState: string) => string)) => void;
    focusedValue: string;
    setFocusedValue: import("react").Dispatch<import("react").SetStateAction<string>>;
} & Pick<ToggleGroupProps, "size"> & {
    children: React.ReactNode;
    ref?: never;
}>, useToggleGroupContext: <S extends boolean = true>(strict?: S | undefined, errorMessageOverride?: string) => S extends true ? ToggleGroupProviderProps : ToggleGroupProviderProps | undefined;
export {};
