import type { ElementType } from "react";
import type { ButtonOptions } from "../button/button.tsx";
import type { Props } from "../utils/types.ts";
import type { DialogStore } from "./dialog-store.ts";
declare const TagName = "button";
type TagName = typeof TagName;
/**
* Returns props to create a `DialogDismiss` component.
* @see https://ariakit.com/components/dialog
* @example
* ```jsx
* const store = useDialogStore();
* const props = useDialogDismiss({ store });
*
* ```
*/
export declare const useDialogDismiss: import("../utils/types.ts").Hook<"button", DialogDismissOptions<"button">>;
/**
* Renders a button that hides a
* [`Dialog`](https://ariakit.com/reference/dialog) when clicked.
* @see https://ariakit.com/components/dialog
* @example
* ```jsx {4}
* const [open, setOpen] = useState(false);
*
*
* ```
*/
export declare const DialogDismiss: (props: DialogDismissProps) => import("react").ReactElement>;
export interface DialogDismissOptions extends ButtonOptions {
/**
* Object returned by the
* [`useDialogStore`](https://ariakit.com/reference/use-dialog-store) hook. If
* not provided, the closest [`Dialog`](https://ariakit.com/reference/dialog)
* component's context will be used.
*/
store?: DialogStore;
}
export type DialogDismissProps = Props>;
export {};