export declare const FeatureFlag: { /** Enables ClinePass provider/model list exposure in supported clients. */ readonly CLINE_PASS: "ext-cline-pass"; }; export type KnownFeatureFlag = (typeof FeatureFlag)[keyof typeof FeatureFlag]; export type FeatureFlag = KnownFeatureFlag | (string & {}); export type FeatureFlagJsonValue = string | number | boolean | null | { [key: string]: FeatureFlagJsonValue; } | FeatureFlagJsonValue[]; export type FeatureFlagPayload = FeatureFlagJsonValue; export type FeatureFlagsAndPayloads = { featureFlags?: Record; featureFlagPayloads?: Record; }; export interface FeatureFlagsContext { /** Stable SDK/client/user identifier used by providers that evaluate per identity. */ distinctId?: string; /** Authenticated Cline account/user ID, when available. */ userId?: string | null; /** Optional SDK consumer name, e.g. `my-production-app`. */ clientName?: string; } type AssertTrue = T; type Primitive = string | number | boolean | bigint | symbol | null | undefined; type HasNonPrimitiveFieldNames = { [K in keyof T]-?: Exclude extends never ? never : K; }[keyof T]; type HasOnlyPrimitiveFields = HasNonPrimitiveFieldNames extends never ? true : false; export type FeatureFlagsContextPrimitiveValued = AssertTrue>; export interface FeatureFlagsSettings { /** Whether the provider is enabled. */ enabled: boolean; /** Optional timeout in ms for feature flag requests. */ timeoutMs?: number; } export interface IFeatureFlagsProvider { getAllFlagsAndPayloads(options: { flagKeys?: readonly string[]; context: FeatureFlagsContext; }): Promise; readonly enabled: boolean; getSettings(): FeatureFlagsSettings; dispose(): Promise; } export declare const FeatureFlagDefaultValue: Partial>; export declare const FEATURE_FLAGS: readonly FeatureFlag[]; export {};