import type { IndexedStorage } from '@solid/community-server'; /** * A generic Key-Value storage backed by a single SQL table. * Maps `type` (container) and `id` (key) to rows in the table. */ export declare class DrizzleIndexedStorage implements IndexedStorage { private readonly logger; private readonly db; private readonly tableName; private readonly definitions; private readonly createdIndexes; private ready; constructor(connectionString: string, tablePrefix?: string); private toJsonSql; private ensureTable; defineType(type: string, description: any): Promise; createIndex(type: string, key: string): Promise; create(type: string, value: any): Promise; has(type: string, id: string): Promise; get(type: string, id: string): Promise; find(type: string, query: any): Promise; findIds(type: string, query: any): Promise; set(type: string, value: any): Promise; setField(type: string, id: string, key: string, value: any): Promise; private setFieldFragment; delete(type: string, id: string): Promise; entries(type: string): AsyncIterableIterator; private matchesQuery; private canPushDownQuery; private isSupportedQueryValue; private buildWhereClause; private buildIndexName; private toSqliteJsonPath; private escapeSqlLiteral; private logDuration; }