import { type ReactNode, type ReactElement } from 'react'; import type { AlertOptions, ConfirmOptions, CustomOptions, DialogHandle, DialogId, DialogRenderProps, PromptOptions } from './types'; export declare function Body({ props, children }: { props: DialogRenderProps; children: ReactNode; }): ReactElement; export declare function useBusy(id: DialogId | undefined): [number | null, (index: number | null) => void]; export declare function Buttons({ props, signal: getSignal, focus }: { props: DialogRenderProps; signal: () => AbortSignal; focus: number; }): ReactElement; export declare function alert(input: string | Omit): Promise; export declare function confirm(input: string | Omit): Promise; export declare function PromptBody({ props, options }: { props: DialogRenderProps; options: Omit; }): ReactElement; export declare function prompt(input: string | Omit): Promise; export declare function openDialog(options: Omit, 'kind'>): DialogHandle; export declare function closeDialog(id: DialogId): void; export declare function closeAll(): void;