import { EntityDict, OperateOption, OperationResult, TxnOption, StorageSchema, SelectOption, AggregationResult } from 'oak-domain/lib/types'; import { EntityDict as BaseEntityDict } from 'oak-domain/lib/base-app-domain'; import { CascadeStore } from 'oak-domain/lib/store/CascadeStore'; import { AsyncContext } from 'oak-domain/lib/store/AsyncRowStore'; import { SyncContext } from 'oak-domain/lib/store/SyncRowStore'; import { CreateEntityOption } from '../types/Translator'; import { DbStore } from '../types/dbStore'; import { MigrationPlanningOptions, Plan } from '../types/migration'; import { SQLiteConfiguration } from './types/Configuration'; import { SQLiteConnector } from './connector'; import { SQLiteOperateOption, SQLiteSelectOption, SQLiteTranslator } from './translator'; export declare class SQLiteStore> extends CascadeStore implements DbStore { connector: SQLiteConnector; translator: SQLiteTranslator; constructor(storageSchema: StorageSchema, configuration?: SQLiteConfiguration); protected countAbjointRow>(entity: T, selection: Pick, context: Cxt, option: OP): number; protected aggregateAbjointRowSync>(entity: T, aggregation: ED[T]['Aggregation'], context: Cxt, option: OP): AggregationResult; protected selectAbjointRow(entity: T, selection: ED[T]['Selection'], context: SyncContext, option: OP): Partial[]; protected updateAbjointRow(entity: T, operation: ED[T]['Operation'], context: SyncContext, option: OP): number; exec(script: string, txnId?: string): Promise; supportsTransactionalDdl(): boolean; checkRelationAsync>(entity: T, operation: Omit, context: Cxt): Promise; protected aggregateAbjointRowAsync>(entity: T, aggregation: ED[T]['Aggregation'], context: Cxt, option: OP): Promise>; aggregate(entity: T, aggregation: ED[T]['Aggregation'], context: Cxt, option: OP): Promise>; protected supportManyToOneJoin(): boolean; protected supportMultipleCreate(): boolean; protected supportUpdateReturning(): boolean; private formResult; protected selectAbjointRowAsync(entity: T, selection: ED[T]['Selection'], context: AsyncContext, option?: SQLiteSelectOption): Promise[]>; protected updateAbjointRowAsync(entity: T, operation: ED[T]['Operation'], context: AsyncContext, option?: SQLiteOperateOption): Promise; protected updateAbjointRowReturningSync(entity: T, operation: ED[T]['Operation'], context: AsyncContext, returning: Record, option?: SQLiteOperateOption): [number, Partial[]]; protected updateAbjointRowReturningAsync(entity: T, operation: ED[T]['Operation'], context: AsyncContext, returning?: Record, option?: SQLiteOperateOption): Promise<[number, Partial[]]>; private normalizeWriteOperationByIds; operate(entity: T, operation: ED[T]['Operation'], context: Cxt, option: OperateOption): Promise>; select(entity: T, selection: ED[T]['Selection'], context: Cxt, option: SelectOption): Promise[]>; protected countAbjointRowAsync(entity: T, selection: Pick, context: AsyncContext, option: SelectOption): Promise; count(entity: T, selection: Pick, context: Cxt, option: SelectOption): Promise; begin(option?: TxnOption): Promise; commit(txnId: string): Promise; rollback(txnId: string): Promise; connect(): Promise; disconnect(): Promise; initialize(option: CreateEntityOption): Promise; readSchema(): Promise>; makeUpgradePlan(options?: MigrationPlanningOptions): Promise>; diffSchema(schemaOld: StorageSchema, schemaNew: StorageSchema, options?: MigrationPlanningOptions): Plan; }