import type { AbstractFlags, InferFlagType } from './types';
export interface UserContext {
    apiKey: string;
    userId?: string;
    ipCountry: string | undefined;
}
export declare function fetchConfigFromServer<F extends AbstractFlags>(): Promise<F>;
export declare function deriveAllFlags<T extends AbstractFlags>(config: T, userContext: UserContext): {
    [K in keyof T]?: InferFlagType<T[K]>;
};
