/**
 * Adapted from https://github.com/mysqljs/sqlstring/blob/cd528556b4b6bcf300c3db515026935dedf7cfa1/lib/SqlString.js
 * MIT LICENSE: https://github.com/mysqljs/sqlstring/blob/cd528556b4b6bcf300c3db515026935dedf7cfa1/LICENSE
 */
import type { Expand, Raw, SqlMode, SqlValue, TemporalValue, Timezone } from './types.js';
import { Buffer } from 'buffer';
export type { Expand, Raw, SqlMode, SqlValue, TemporalValue, Timezone, } from './types.js';
/** Owned by every value `expand()` marks, and shared through the global registry by the CommonJS build, the ESM build, and every installed copy. */
export declare const EXPAND_SYMBOL: unique symbol;
export declare const dateToString: (date: Date, timezone: Timezone, sqlMode?: SqlMode) => string;
export declare const temporalToString: (value: TemporalValue, timezone?: Timezone, sqlMode?: SqlMode) => string;
export declare const escapeId: (value: SqlValue, forbidQualified?: boolean) => string;
/** Turns every own key of the object into a column. For an object the code did not build, limit the columns with `escape(expand(object, columns))` instead. */
export declare const objectToValues: (object: Record<string, SqlValue> | Map<string, SqlValue>, timezone?: Timezone, sqlMode?: SqlMode) => string;
export declare const bufferToString: (buffer: Buffer) => string;
export declare const arrayToList: (array: SqlValue[], timezone?: Timezone, sqlMode?: SqlMode) => string;
export declare const escape: (value: SqlValue, stringifyObjects?: boolean, timezone?: Timezone, sqlMode?: SqlMode) => string;
export declare const format: (sql: string, values?: SqlValue | SqlValue[], stringifyObjects?: boolean, timezone?: Timezone, sqlMode?: SqlMode) => string;
export declare const raw: (sql: string) => Raw;
export declare const expand: (value: Record<string, unknown> | Map<string, SqlValue>, columns?: readonly string[]) => Expand;
