import { type UseQueryResult } from "@tanstack/react-query";
import type { AppDefinitionResponse } from "@fluid-app/portal-core/app-definition-types";
/**
 * Base query key for the app definition endpoint.
 * The runtime key includes a company prefix via {@link useCompanyScopedQueryKey}.
 */
export declare const APP_DEFINITION_QUERY_KEY: readonly ["fluid", "app-definition"];
/**
 * Hook to fetch the active app manifest from the portal-tenant BFF.
 *
 * Returns the manifest metadata (id, name, version)
 * sourced from `GET /api/app/manifest` via the {@link AppDefinitionApi} port.
 *
 * @example
 * ```tsx
 * function MyComponent() {
 *   const { data } = useAppDefinition();
 *   const definitionId = data?.definition.id ?? 0;
 * }
 * ```
 */
export declare function useAppDefinition(options?: {
    enabled?: boolean;
}): UseQueryResult<AppDefinitionResponse>;
//# sourceMappingURL=use-app-definition.d.ts.map