import { DBCoreAddRequest, DBCoreDeleteRequest, DBCoreIndex, DBCorePutRequest } from 'dexie'; export declare function toStringTag(o: Object): any; export declare function getEffectiveKeys(primaryKey: DBCoreIndex, req: (Pick & { keys?: any[]; }) | Pick): any[]; export declare function generateTablePrefix(tableName: string, allPrefixes: Set): string; /** * * @param prefix A unique 3-letter short-name of the table. * @param shardKey 3 last letters from another ID if colocation is requested. Verified on server on inserts - guarantees unique IDs across shards. * The shardKey part of the key represent the shardId where it was first created. An object with this * primary key can later on be moved to another shard without being altered. The reason for having * the origin shardKey as part of the key, is that the server will not need to check uniqueness constraint * across all shards on every insert. Updates / moves across shards are already controlled by the server * in the sense that the objects needs to be there already - we only need this part for inserts. * @returns */ export declare function generateKey(prefix: string, shardKey?: string): string;