import { ApiCollection } from '../types'; import type { FeatureResource } from '../types/resources/feature_resource'; import { ApiClient } from './use_api_client'; type FeatureName = (typeof availableFeatures)[keyof typeof availableFeatures]; type FeaturesCollection = ApiCollection & { failure?: { status?: number; }; }; export declare function useFeatures(): { features: FeatureResource[]; featureEnabled: (featureName: FeatureName) => boolean; }; export declare const featuresQueryOptions: (apiClient: ApiClient) => import("@tanstack/query-core").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/query-core").QueryFunction | undefined; } & { queryKey: import("./use_suspense_api").RequestQueryKey & { [dataTagSymbol]: FeaturesCollection; [dataTagErrorSymbol]: Error; }; }; export declare const availableFeatures: { readonly gender_specific_conversations: "ROLLOUT_gender_specific_conversations"; readonly message_reporting: "ROLLOUT_MOBILE_message_reporting"; readonly granular_notifications_ui: "ROLLOUT_granular_notification_preferences_ui"; readonly custom_conversation_avatars: "ROLLOUT_custom_conversation_avatars"; readonly conversation_safety_lock: "ROLLOUT_conversation_safety_lock"; readonly video_moderation: "ROLLOUT_MOBILE_video_moderation"; readonly dm_search_clear_fix: "ROLLOUT_MOBILE_dm_search_clear_fix"; readonly search: "QA_MOBILE_search"; readonly search_rollout: "ROLLOUT_MOBILE_search"; readonly filter_dropdown: "QA_MOBILE_filter_dropdown"; readonly filter_dropdown_rollout: "ROLLOUT_MOBILE_filter_dropdown"; readonly manual_archiving: "QA_MOBILE_manual_archiving"; readonly manual_archiving_rollout: "ROLLOUT_MOBILE_manual_archiving"; }; export {}; //# sourceMappingURL=use_features.d.ts.map