import StorageManager from '.'; import { StorageBackend } from './types'; export declare type StorexBackendTestBackendCreator = (context: StorexBackendTestContext) => Promise; export interface StorexBackendTestContext { cleanupFunction?: () => Promise; } export declare function createTestStorageManager(backend: StorageBackend): Promise; export declare function generateTestObject({ email, passwordHash, expires }: { email: string; passwordHash: string; expires: number; }): { identifier: string; passwordHash: string; isActive: boolean; emails: { email: string; isVerified: boolean; isPrimary: boolean; verificationCode: { code: string; expires: number; }; }[]; }; export declare function testStorageBackend(backendCreator: StorexBackendTestBackendCreator, { fullTextSearch }?: { fullTextSearch?: boolean; }): void; export declare function testStorageBackendSetup(backendCreator: StorexBackendTestBackendCreator): void; export declare function testStorageBackendFullTextSearch(backendCreator: StorexBackendTestBackendCreator): void; export declare function testStorageBackendOperations(backendCreator: StorexBackendTestBackendCreator): void;