import { SqlResult } from '../models/SqlResult'; /** Case-insensitive raw value. absent → undefined; present-null → null. */ export declare function getValue(row: Record, column: string): unknown; /** String coercion. null/undefined pass through; else String(v). */ export declare function getString(row: Record, column: string): string | null | undefined; /** Number coercion (pg/mysql decimal-as-string → number). null/undefined pass through; else Number(v). */ export declare function getNumber(row: Record, column: string): number | null | undefined; /** * Boolean coercion normalizing engine representations. * null/undefined pass through. boolean → as-is. number → v !== 0. * string (case-insensitive): true/false sets above; any other non-empty string → ResultError. */ export declare function getBoolean(row: Record, column: string): boolean | null | undefined; /** Values of `column` across every row (via getValue). */ export declare function getColumn(rows: Record[], column: string): unknown[]; /** A predicate over a raw row record. */ export type RowPredicate = (row: Record) => boolean; /** First row matching `where` (matcher-aware partial or a raw-row predicate). */ export declare function findRow(rows: T[], where: Record | RowPredicate): T | undefined; /** All rows matching `where` (matcher-aware partial or a raw-row predicate). */ export declare function filterRows(rows: T[], where: Record | RowPredicate): T[]; /** Value of the first row's `column` (named, or the first field when omitted). undefined if no rows. */ export declare function getScalar(result: SqlResult, column?: string): unknown;