import { FieldBindParams } from "./FieldBindParams"; import { ColumnInfo } from "./wsColumnInfo"; export interface IDataEncoder { encode(): void; addParams(params: any[], dataType: string, typeLen: number, columnType: number): void; mergeParams(bindParams: StmtBindParams): void; } export declare abstract class StmtBindParams { protected readonly precisionLength: number; protected readonly _params: ColumnInfo[]; _fieldParams?: FieldBindParams[]; protected _dataTotalLen: number; protected paramsCount: number; protected _rows: number; protected _bindCount: number; constructor(precision?: number, paramsCount?: number); abstract encode(): void; abstract addParams(params: any[], dataType: string, typeLen: number, columnType: number): void; addBindFieldParams(fieldParams: FieldBindParams): void; abstract mergeParams(bindParams: StmtBindParams): void; getBindCount(): number; getDataRows(): number; getDataTotalLen(): number; getParams(): ColumnInfo[]; setBoolean(params: any[]): void; setTinyInt(params: any[]): void; setUTinyInt(params: any[]): void; setSmallInt(params: any[]): void; setUSmallInt(params: any[]): void; setInt(params: any[]): void; setUInt(params: any[]): void; setBigint(params: any[]): void; setUBigint(params: any[]): void; setFloat(params: any[]): void; setDouble(params: any[]): void; setVarchar(params: any[]): void; setBinary(params: any[]): void; setNchar(params: any[]): void; setJson(params: any[]): void; setVarBinary(params: any[]): void; setBlob(params: any[]): void; setGeometry(params: any[]): void; setDecimal(params: any[]): void; setTimestamp(params: any[]): void; protected writeDataToBuffer(dataBuffer: DataView, params: any, dataType: string | undefined, typeLen: number, columnType: number, i: number): void; } //# sourceMappingURL=wsParamsBase.d.ts.map