import { SQLiteListArgs, SQLiteParams, SQLiteType, SQLiteBlob, SQLiteDouble, SQLiteInteger, SQLiteNull, SQLiteText } from './SQLiteTypes'; /** * @since v0.2.0 */ export declare class SQLiteParamAdapter { constructor(); /** * Attempt to adapt an arbitrary data type to a supported SQLite Type * * There is a set of default adaptions for common types including * null, strings and numbers which are all passthrough types. There is also * default adaptions for booleans, Dates and blobs, where booleans are * convered to an integer of 1 or 0, Dates are converted to an ISO string, * and blobs are adapted to a special JSON format to represent bytearrays. * * If required, any of the _adapt* methods could be overwritten to change * the behaviour however it would be recommended to keep the defaults. * * If you are importing custom types, override the `_adapt` method to handle * them. * * @param v * @returns */ private $adapt; protected _adaptInt8TypedArray(v: Int8Array | Uint8Array): Promise; protected _adaptArrayBuffer(v: ArrayBuffer): Promise; protected _adaptBlob(v: Blob): Promise; protected _adaptDate(v: Date): SQLiteText; protected _adaptBoolean(v: boolean): SQLiteInteger; protected _adaptString(v: string): SQLiteText; protected _adaptNumber(v: number): SQLiteDouble | SQLiteInteger; protected _adaptNull(v: null): SQLiteNull; protected _adapt(v: unknown): Promise; processArray(input: unknown[][]): Promise; processKWargs(input: Record): Promise; }