import type { DialogContextProps, DialogControlProps } from './types';
export declare const Context: import("react").Context<DialogContextProps>;
export declare function useDialogContext(): DialogContextProps;
/**
 * Return a stable handle that can imperatively `open()` and `close()` a
 * `<Dialog>` mounted with the same control.
 *
 * The handle survives across re-renders; mounting a different `<Dialog>`
 * with the same control attaches the new instance via the internal ref.
 */
export declare function useDialogControl(): DialogControlProps;
//# sourceMappingURL=context.d.ts.map