import { ICollection, IInsertItem, IGetItem, IQuery, IInsert, ICollections, fieldType } from 'debe'; import { DebeAdapter } from 'debe-adapter'; export declare abstract class SQLCore extends DebeAdapter { abstract exec(sql: string, args: any[], type?: 'all' | 'get' | 'count' | 'insert' | 'remove'): Promise; initialize(collections: ICollections, options: any): Promise; close(): void; getColumnType(type: fieldType, secondType?: fieldType): string; createTableIndex(collection: ICollection, field: string, type?: string): string; createInsertStatement(collection: ICollection, fields?: string[]): string; createTable(collection: ICollection): Promise; makeCount(statement: string): string; createSelect(collection: ICollection, fields?: string[]): string; createOffset(offset?: number): string; createLimit(limit?: number | [number] | [number, number]): string; createOrderBy(collection: ICollection, orderBy: string[] | string): string; createQueryStatement(collection: ICollection, queryArgs: string | string[] | IQuery | undefined, queryType: string): [string, ...any[]]; createWhere(collection: ICollection, where: string[] | string): any[]; createWhereId(id: string[] | string): any[]; query(collection: ICollection, queryArgs: IQuery | string | string[], queryType: 'all' | 'get' | 'count', skip?: boolean): Promise; insert(collection: ICollection, value: (T & IInsertItem)[], options: IInsert): Promise<(T & IGetItem)[]>; remove(collection: ICollection, value: string[]): Promise<(T & IGetItem)[]>; count(collection: ICollection, query: IQuery): Promise; get(collection: ICollection, id: string): Promise; all(collection: ICollection, query: IQuery): Promise; }