import { InanoSQLInstance, InanoSQLPlugin, InanoSQLTable, SQLiteAbstractFns } from '@nano-sql/core/lib/interfaces'; import { nanoSQLMemoryIndex } from '@nano-sql/core/lib/adapters/memoryIndex'; import * as NSSqlite from '../sqlite'; export declare class NativeSQLite extends nanoSQLMemoryIndex { private filePath; private options?; plugin: InanoSQLPlugin; nSQL: InanoSQLInstance; _id: string; _db: NSSqlite.SQLiteDatabase; _ai: { [table: string]: number; }; _sqlite: SQLiteAbstractFns; _tables: { [tableName: string]: InanoSQLTable; }; constructor(filePath: string, options?: { flags?: number; threading?: boolean; }); connect(id: string, complete: () => void, error: (err: any) => void): void; createTable(tableName: string, tableData: InanoSQLTable, complete: () => void, error: (err: any) => void): void; _query(allowWrite: boolean, sql: string, args: any[], onRow: (row: any, i: number) => void, complete: () => void, error: (err: any) => void): Promise; dropTable(table: string, complete: () => void, error: (err: any) => void): void; disconnect(complete: () => void, error: (err: any) => void): void; write(table: string, pk: any, row: { [key: string]: any; }, complete: (pk: any) => void, error: (err: any) => void): void; read(table: string, pk: any, complete: (row: { [key: string]: any; } | undefined) => void, error: (err: any) => void): void; delete(table: string, pk: any, complete: () => void, error: (err: any) => void): void; readMulti(table: string, type: 'range' | 'offset' | 'all', offsetOrLow: any, limitOrHigh: any, reverse: boolean, onRow: (row: { [key: string]: any; }, i: number) => void, complete: () => void, error: (err: any) => void): void; getTableIndex(table: string, complete: (index: any[]) => void, error: (err: any) => void): void; getTableIndexLength(table: string, complete: (length: number) => void, error: (err: any) => void): void; }