import { UseMenuConfigOptions, UseMenuConfigResult } from './types';
export type { MenuData, UseMenuConfigOptions, UseMenuConfigResult } from './types';
/**
 * Generic hook to manage menu-based configuration
 *
 * This hook:
 * 1. Reads parameters from session storage (populated by navigation microfrontend)
 * 2. Fetches configuration data from API based on current route shortcut
 *
 * Note: The navigation microfrontend populates session storage with parameters
 * using the pattern: `{appName}:parameters` → `{ shortcut: { config: "id", param: "value" } }`
 *
 * @example
 * ```tsx
 * const { config, loading, error } = useMenuConfig({
 *   shortcut: "anamnesis",
 *   apiEndpoint: "/api/diagnostics/diagnosticReportConfigurations/{id}",
 *   appName: "diagnosticreport",
 * })
 * ```
 */
export declare const useMenuConfig: <TConfig = any>(options: UseMenuConfigOptions) => UseMenuConfigResult<TConfig>;
//# sourceMappingURL=use-menu-config.d.ts.map