import { n as CommandOptions } from "./command-LprKlNOC.js";
import { Props } from "@ariakit/react-utils";
import { ElementType } from "react";
//#region src/button/button.d.ts
declare const TagName = "button";
type TagName = typeof TagName;
/**
 * Returns props to create a `Button` component. If the element is not a native
 * button, the hook will return additional props to make sure it's accessible.
 * @see https://ariakit.com/components/button
 * @example
 * ```jsx
 * const props = useButton({ render: <div /> });
 * <Role {...props}>Accessible button</Role>
 * ```
 */
declare const useButton: import("@ariakit/react-utils").Hook<"button", ButtonOptions<"button">>;
/**
 * Renders an accessible button element. If the underlying element is not a
 * native button, this component will pass additional attributes to make sure
 * it's accessible.
 * @see https://ariakit.com/components/button
 * @example
 * ```jsx
 * <Button>Button</Button>
 * ```
 */
declare const Button: (props: ButtonProps) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
interface ButtonOptions<T extends ElementType = TagName> extends CommandOptions<T> {}
type ButtonProps<T extends ElementType = TagName> = Props<T, ButtonOptions<T>>;
//#endregion
export { useButton as i, ButtonOptions as n, ButtonProps as r, Button as t };
//# sourceMappingURL=button-Bh6AYzok.d.ts.map