import * as React from 'react'; import { TypedDialogComponent } from './types.js'; type DialogContextType = { openDialog: (Component: TypedDialogComponent, args: A) => Promise; }; declare const DialogContext: React.Context; declare function useDialog(): DialogContextType; declare function createTypedDialog(component: TypedDialogComponent): TypedDialogComponent; export { DialogContext, createTypedDialog, useDialog };