import { D as DatabaseInspector, T as TableInfo, S as SchemaTable, a as TablePageRequest, b as TablePageResult, Q as QueryResult, C as ColumnInfo } from '../../types-CKVRCX-e.js'; import { S as SnapshotExport } from '../../snapshot-Dhyecgo2.js'; declare class SqliteSession { private readonly db; private readonly tableNames; private constructor(); static open(bytes: ArrayBuffer): Promise; close(): void; listTables(): TableInfo[]; getSchema(): SchemaTable[]; getTableColumns(tableName: string): ColumnInfo[]; fetchTablePage(request: TablePageRequest): TablePageResult; executeQuery(sql: string): QueryResult; private assertKnownTable; private readTableColumns; } declare function isSqliteDatabase(bytes: ArrayBuffer): boolean; declare function filterTables(tables: TableInfo[], search: string): TableInfo[]; declare function sortTables(tables: TableInfo[], sortBy: 'name' | 'rows', direction: 'asc' | 'desc'): TableInfo[]; declare class SqliteInspector implements DatabaseInspector { readonly kind: "sqlite"; readonly capabilities: { explorer: boolean; schemaView: boolean; tableData: boolean; sqlWorkspace: boolean; }; private session; open(snapshot: SnapshotExport | ArrayBuffer): Promise; close(): void; listTables(): TableInfo[]; getSchema(): SchemaTable[]; fetchTablePage(request: TablePageRequest): TablePageResult; executeQuery(sql: string): QueryResult; private requireSession; } declare const sqliteInspectorDefinition: { kind: "sqlite"; displayName: string; mimeTypes: string[]; canOpenBytes: typeof isSqliteDatabase; createInspector: () => SqliteInspector; }; declare function configureSqliteWasm(locator: () => string): void; declare function registerSqliteInspector(options?: { wasmUrl?: string; locateWasm?: () => string; }): void; export { SqliteInspector, SqliteSession, configureSqliteWasm, filterTables, isSqliteDatabase, registerSqliteInspector, sortTables, sqliteInspectorDefinition };