import { AgridCore } from '../agrid-core'; import type { JsonType, AgridCoreOptions, AgridFetchOptions, AgridFetchResponse, AgridFlagsResponse } from '../types'; export interface AgridCoreTestClientMocks { fetch: jest.Mock, [string, AgridFetchOptions]>; storage: { getItem: jest.Mock; setItem: jest.Mock; }; } export declare class AgridCoreTestClient extends AgridCore { private mocks; _cachedDistinctId?: string; constructor(mocks: AgridCoreTestClientMocks, apiKey: string, options?: AgridCoreOptions); getFlags(distinctId: string, groups?: Record, personProperties?: Record, groupProperties?: Record>, extraPayload?: Record): Promise; getPersistedProperty(key: string): T; setPersistedProperty(key: string, value: T | null): void; fetch(url: string, options: AgridFetchOptions): Promise; getLibraryId(): string; getLibraryVersion(): string; getCustomUserAgent(): string; } export declare const createTestClient: (apiKey: string, options?: AgridCoreOptions, setupMocks?: (mocks: AgridCoreTestClientMocks) => void, storageCache?: { [key: string]: string | JsonType; }) => [AgridCoreTestClient, AgridCoreTestClientMocks]; //# sourceMappingURL=AgridCoreTestClient.d.ts.map