import { AllowedVariableType } from '@ninetailed/experience.js-shared'; export type FlagResult = { status: 'loading'; value: T; error: null; } | { status: 'success'; value: T; error: null; } | { status: 'error'; value: T; error: Error; }; export type FlagResultWithTracking = [FlagResult, () => void]; /** * Hook to access a Ninetailed variable flag with manual tracking control. */ export declare function useFlagWithManualTracking(flagKey: string, defaultValue: T): FlagResultWithTracking;