import { DBRealm, DBRealmMember, DBRealmRole } from 'dexie-cloud-common'; import { DexieCloudAPI } from './DexieCloudAPI'; import { NewIdOptions } from './types/NewIdOptions'; type Optional = Omit & Partial; declare module 'dexie' { interface Dexie { cloud: DexieCloudAPI; realms: Table>; members: Table>; roles: Table>; } interface Table { newId(options?: NewIdOptions): string; idPrefix(): string; } interface DexieConstructor { Cloud: { (db: Dexie): void; version: string; }; } } export {};