import { CQN, LinkedModel, User } from "cds-internal-tool"; import { QueryObject } from "cds-internal-tool/lib/types/ql"; import { Connection } from "mysql2/promise"; declare function executeSelectCQN(model: LinkedModel, dbc: Connection, query: QueryObject, user: User, locale: string, txTimestamp: any): any; declare function executeDeleteCQN(model: LinkedModel, dbc: Connection, cqn: CQN, user: User, locale: string, txTimestamp: any): Promise<[import("mysql2/promise").QueryResult, import("mysql2/promise").FieldPacket[]]>; declare function executePlainSQL(dbc: Connection, sql: string, values: Array, isOne: any, postMapper: Function): Promise; declare function executeInsertCQN(model: LinkedModel, dbc: Connection, query: QueryObject, user: User, locale: string, txTimestamp: any): Promise<{ lastID: number; affectedRows: number; values: any; }[]>; declare function executeUpdateCQN(model: LinkedModel, dbc: Connection, cqn: CQN, user: User, locale: string, txTimestamp: any): Promise; declare function executeGenericCQN(model: LinkedModel, dbc: Connection, cqn: CQN, user: User, locale: string, txTimestamp: any): Promise; declare function executeSelectStreamCQN({ model, dbc, query, user, locale, txTimestamp }: { model: any; dbc: any; query: any; user: any; locale: any; txTimestamp: any; }): Promise; declare const _default: { delete: typeof executeDeleteCQN; insert: typeof executeInsertCQN; update: typeof executeUpdateCQN; select: typeof executeSelectCQN; stream: typeof executeSelectStreamCQN; convert: any; cqn: typeof executeGenericCQN; sql: typeof executePlainSQL; }; export default _default;