declare type flagsType = Record<string, Record<'enabled' | 'value', any | undefined>>;
declare class Flagsmith {
    flags: flagsType;
    environmentKey: string;
    constructor(environmentKey?: string);
    identify(uniqueIdentifier: string, traitsObj?: Record<string, any>, forceEvaluate?: boolean): Promise<Record<string, Record<"value" | "enabled", any>>>;
    getValue(featureFlagName: string): any;
    hasFeature(featureFlagName: string): boolean;
    getAllFlags(): flagsType;
}
declare const globalFlagsmith: Flagsmith;
declare function createNewFlagsmithInstance(environmentKey?: string): Flagsmith;
export { globalFlagsmith, createNewFlagsmithInstance };
