import type { Effect } from 'effect'; import type { TableDefinition } from '../../std-table/definition/index.js'; interface IDBIndexDefinition { readonly name: string; readonly keyPath: string | readonly [string, string]; } type TableSource = Pick; export declare const setupIDBTable: (database: { readonly setup: (storeName: string, indexes: readonly IDBIndexDefinition[]) => Effect.Effect; }, table: TableSource, storeName: string) => Effect.Effect; export declare const makeIDBSetup: (connection: { readonly open: () => Promise; readonly upgrade: (version: number, onUpgrade: (database: IDBDatabase, transaction: IDBTransaction) => void) => Promise; }) => (storeName: string, indexes: readonly IDBIndexDefinition[]) => Promise; export {}; //# sourceMappingURL=setup.d.ts.map