import type { UseStateInitializer, UseStateSetter } from "./types.js";
/**
 * @remarks \@since 6.0.0
 */
export interface ToggleHookReturnValue {
    toggled: boolean;
    setToggled: UseStateSetter<boolean>;
    toggle(): void;
    enable(): void;
    disable(): void;
}
/**
 *
 * @example
 * Simple Example
 * ```tsx
 * import { Button, useToggle } from "@react-md/core";
 * import type { ReactElement } from "react";
 *
 * function Example(): ReactElement {
 *   const { toggled, toggle } = useToggle();
 *
 *   return (
 *     <>
 *       <Button onClick=[toggle]>Toggle</Button>
 *       {`Toggled: ${toggled}`}
 *     </>
 *   );
 * }
 * ```
 *
 * @param defaultValue - `false`
 */
export declare function useToggle(defaultValue?: UseStateInitializer<boolean>): Readonly<ToggleHookReturnValue>;
