import type { IDataObject, IExecuteFunctions, INode } from 'n8n-workflow'; import { PACKAGE_DEBUG_VERSION } from './packageVersion'; import { repairZaloInteractionParameters } from './zaloParameterRegistry'; export { PACKAGE_DEBUG_VERSION }; export { repairZaloInteractionParameters as repairExecuteNodeParameters }; declare function readRawParameter(context: IExecuteFunctions, name: string, itemIndex: number, fallback: unknown): unknown; /** Giá trị thô từ parameter (object/array/string) — dùng cho field JSON như stylesJson. */ export declare const readRawExecuteParameter: typeof readRawParameter; export declare function readExecuteString(context: IExecuteFunctions, name: string, itemIndex: number, fallback: string): string; export declare function readExecuteNumber(context: IExecuteFunctions, name: string, itemIndex: number, fallback: number): number; export declare function readExecuteBool(context: IExecuteFunctions, name: string, itemIndex: number, fallback: boolean): boolean; export declare function readFixedCollection(context: IExecuteFunctions, name: string, itemIndex: number, fallback?: IDataObject): IDataObject; /** Chuẩn hóa response dạng mảng từ zca-js (array, object map, hoặc wrapper). */ export declare function normalizeArrayResponse(raw: unknown): unknown[]; export declare function assertArrayResponse(context: IExecuteFunctions, raw: unknown, label: string, itemIndex: number): unknown[]; /** Chuẩn hóa response getAllGroups — luôn trả object (tránh spread/Object.keys trên null). */ export declare function normalizeGroupsResponse(raw: unknown): Record; export declare function repairNodeBeforeExecute(node: INode): void;