import { DialogNavigationContextValue } from '../types';
/**
 * Hook to access DialogNavigation context.
 * Throws if used outside a `DialogNavigation` tree.
 *
 * @returns The navigation context value
 * @throws Error if no `DialogNavigation` ancestor exists
 */
export default function useDialogNavigationContext(): DialogNavigationContextValue;
