import { ConfirmationDialogProps } from "./ConfirmationDialog.cjs"; import { PropsWithChildren, ReactNode } from "react"; export type ConfirmationResult = 'confirmed' | 'cancelled'; export interface ConfirmationConfig extends Pick { content?: ReactNode; } export type ConfirmationFn = (props: ConfirmationConfig) => Promise; export declare const ConfirmationContext: import("react").Context; export declare const ConfirmationProvider: ({ children }: PropsWithChildren) => import("react").JSX.Element; export declare const useConfirmation: () => ConfirmationFn;