import { type FieldType, type IDataObject, type IDisplayOptions, type INodeProperties } from 'n8n-workflow'; import type { ColumnInfo, NeonClient, NeonDatabase, WhereClause } from './interface'; import type { INode, INodeExecutionData } from 'n8n-workflow'; export declare function buildColumnDescription(column: ColumnInfo): string; export declare function mapPostgresType(postgresType: string): FieldType; export declare function getEnumValues(db: any, enumType: string): Promise; export declare function addWhereClauses(node: any, itemIndex: number, query: string, clauses: WhereClause[], replacements: any[], combineConditions: string): [string, any[]]; export declare function addSortRules(query: string, rules: any, replacements: any[]): [string, any[]]; export declare function buildSelectColumns(outputColumns: string[]): string; export declare function mergeDisplayOptions(displayOptions: IDisplayOptions, properties: INodeProperties[]): { displayOptions: IDisplayOptions; displayName: string; name: string; type: import("n8n-workflow").NodePropertyTypes; typeOptions?: import("n8n-workflow").INodePropertyTypeOptions; default: import("n8n-workflow").NodeParameterValueType; description?: string; hint?: string; disabledOptions?: IDisplayOptions; options?: Array; placeholder?: string; isNodeSetting?: boolean; noDataExpression?: boolean; required?: boolean; routing?: import("n8n-workflow").INodePropertyRouting; credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">; extractValue?: import("n8n-workflow").INodePropertyValueExtractor; modes?: import("n8n-workflow").INodePropertyMode[]; requiresDataPath?: "single" | "multiple"; doNotInherit?: boolean; validateType?: FieldType; ignoreValidationDuringExecution?: boolean; }[]; export declare function getResolvables(text: string): string[]; export declare function stringToArray(value: string): string[]; export declare function isJSON(value: any): boolean; export declare function shouldContinueOnFail(executionMode: string): boolean; export declare function replaceEmptyStringsByNulls(items: INodeExecutionData[], replace?: boolean): INodeExecutionData[]; export declare function getTableSchema(db: NeonDatabase, schema: string, table: string): Promise; export declare function hasJsonDataTypeInSchema(schema: ColumnInfo[]): boolean; export declare function convertValuesToJson(pgp: NeonClient, schema: ColumnInfo[], values: IDataObject): IDataObject; export declare const convertArraysToPostgresFormat: (data: IDataObject, schema: ColumnInfo[], node: INode, itemIndex?: number) => void; export declare function checkItemAgainstSchema(node: INode, item: IDataObject, columnsInfo: ColumnInfo[], index: number): IDataObject; export declare function convertValuesToObject(values: IDataObject[]): IDataObject;