import type { Node } from '@pgsql/types'; export declare const normalizePath: (path: string, cwd?: string) => string; export declare const makeLocation: (longitude: string | number | null | undefined, latitude: string | number | null | undefined) => Node; export declare const makeBoundingBox: (bbox: string) => Node; interface TypesMap { [key: string]: (record: Record) => Node; } interface InsertOneParams { schema?: string; table: string; types: TypesMap; record: Record; conflict?: string[]; conflictDoNothing?: boolean; } export declare const InsertOne: ({ schema, table, types, record, conflict, conflictDoNothing }: InsertOneParams) => Node; interface InsertManyParams { schema?: string; table: string; types: TypesMap; records: Record[]; conflict?: string[]; conflictDoNothing?: boolean; } export declare const InsertMany: ({ schema, table, types, records, conflict, conflictDoNothing }: InsertManyParams) => Node; interface WrapOptions { wrap?: string[]; wrapAst?: (val: Node) => Node; cast?: string; } export declare const wrapValue: (val: Node, { wrap, wrapAst, cast }?: WrapOptions) => Node; interface GetRelatedFieldParams { schema?: string; table: string; refType: string; refKey: string; refField: string; wrap?: string[]; wrapAst?: (val: Node) => Node; cast?: string; record: Record; parse: (value: unknown) => unknown; from: string[]; } export declare const getRelatedField: ({ schema, table, refType, refKey, refField, wrap, wrapAst, cast, record, parse, from }: GetRelatedFieldParams) => Node; export {};