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