import { Effect } from 'effect'; export interface IDBDatabaseConfig { readonly databaseName: string; readonly indexedDB?: IDBFactory; } export interface IDBIndexDefinition { readonly name: string; readonly keyPath: string | readonly [string, string]; } export interface IDBConnection { readonly compare: (left: IDBValidKey, right: IDBValidKey) => number; readonly open: () => Promise; readonly setup: (storeName: string, indexes: readonly IDBIndexDefinition[]) => Effect.Effect; } export declare const makeIDBDatabase: (configuration: IDBDatabaseConfig) => IDBConnection; //# sourceMappingURL=database.d.ts.map