import { DialogConfig, DialogType } from "../Dialog.types.js"; //#region src/components/dialog/utils/dialogDetection.d.ts /** * Config-based detection for dialog type * Useful for static type checking and compile-time analysis * @param config Dialog configuration object */ declare function getDialogTypeFromConfig(config: DialogConfig): DialogType; /** * Hook-based detection for current dialog type * Returns the type of the currently open dialog or null if no dialog is open */ declare function useDialogType(): DialogType | null; /** * Hook-based detection for whether we're in a form dialog * Checks the current dialog context for form-related dialogs */ declare function useIsFormDialog(): boolean; /** * Hook-based detection for whether we're currently in any dialog * More accurate than config-based detection as it reflects runtime state */ declare function useIsInDialog(): boolean; /** * Hook-based detection for whether we're in a wizard dialog * Checks the current dialog context for wizard-specific dialogs */ declare function useIsWizardDialog(): boolean; //#endregion export { getDialogTypeFromConfig, useDialogType, useIsFormDialog, useIsInDialog, useIsWizardDialog }; //# sourceMappingURL=dialogDetection.d.ts.map