/**
 * Evaluates PostHog feature flags for the current user.
 *
 * Env-var overrides are handled in evaluateFlags.ts, not here.
 */
declare class FeatureFlagService {
    private posthog;
    constructor();
    private get defaultUserKey();
    /**
     * Gets the feature flag user key for this evaluation.
     */
    private getUserKey;
    /**
     * Fetch all flags for the selected user in a single request.
     */
    getAllFlags(userKey?: string): Promise<Record<string, boolean | string>>;
    /**
     * Evaluate a single flag for the selected user.
     * Useful when a flag key is missing from getAllFlags() (e.g. inactive flags).
     */
    isFeatureEnabled(key: string, userKey?: string): Promise<boolean | null>;
    shutdown(): Promise<void>;
}
export declare function getFeatureFlagService(): FeatureFlagService;
export {};
//# sourceMappingURL=FeatureFlagService.d.ts.map