import { type UseQueryResult } from "@tanstack/react-query";
import type { Profile } from "../types/profile";
/**
 * Base query key for profile data.
 * Kept for backwards compatibility — the runtime key used by the hook
 * includes a company prefix via {@link useCompanyScopedQueryKey}.
 *
 * @deprecated Use {@link APP_DATA_QUERY_KEY} with `useFluidApp` instead.
 */
export declare const PROFILE_QUERY_KEY: readonly ["fluid", "profile"];
/**
 * Hook to fetch the portal profile (themes, navigation, screens).
 *
 * Internally fetches from the fluidos API (same data source as
 * {@link useFluidApp}) and selects the `profile` slice, so no
 * legacy `/api/rep_app/manifest` call is made.
 *
 * @deprecated Use `useFluidApp()` instead — it returns the full
 * `RepAppData` including `profile`, `screens`, and more.
 *
 * @example
 * ```tsx
 * function Navigation() {
 *   const { data: profile, isLoading } = useFluidProfile();
 *
 *   if (isLoading) return <Spinner />;
 *
 *   return (
 *     <nav>
 *       {profile?.navigation.navigation_items.map(item => (
 *         <NavItem key={item.id} item={item} />
 *       ))}
 *     </nav>
 *   );
 * }
 * ```
 */
export declare function useFluidProfile(): UseQueryResult<Profile>;
//# sourceMappingURL=use-fluid-profile.d.ts.map