import { MutableRefObject, ReactNode } from 'react';
export interface AlertDialogContextValue {
    cancelRef: MutableRefObject<HTMLButtonElement | null>;
    withFade: boolean;
}
export declare const AlertDialogContext: import('react').Context<AlertDialogContextValue | null>;
export declare const AlertDialogProvider: ({ children, withFade, cancelRef, }: {
    children: ReactNode;
    withFade?: boolean;
    cancelRef: MutableRefObject<HTMLButtonElement | null>;
}) => import("react/jsx-runtime").JSX.Element;
export declare const useAlertDialog: () => AlertDialogContextValue;
