import { CreateManyOptions, StorageBackend } from '../types'; import StorageRegistry from '../registry'; import { RandomKeyField } from '../fields/random-key'; export declare class FakeRandomKeyField extends RandomKeyField { counter: number; generateCode(): Promise; } export interface FakeStorageBackendConfig { idGenerator: (collection: any, object: any, options: any) => string; } export declare class FakeStorageBackend extends StorageBackend { config: FakeStorageBackendConfig; createOperations: { object: any; id: any; }[]; constructor(config: FakeStorageBackendConfig); configure({ registry }: { registry: StorageRegistry; }): void; rawCreateObjects(collection: string, objects: any[], options: CreateManyOptions): Promise; createObject(collection: string, object: any, options: any): Promise<{ object: any; }>; findObjects(): Promise; updateObjects(): Promise; deleteObjects(): Promise; }