import type { MutableRefObject, SyntheticEvent } from "react";
export type TransitionProps = {
    isEnabled: boolean;
    CSSVariable: string;
};
export type useDialogProps = {
    ref: MutableRefObject<HTMLDialogElement | null>;
    transition: TransitionProps;
    isOpen: boolean;
    onOpen?: () => void;
    onClose?: () => void;
};
export declare const useDialog: (props: useDialogProps) => {
    open: () => void;
    close: (event?: SyntheticEvent<HTMLElement, Event>) => void;
};
