/** * Mock utilities for n8n-workflow interfaces */ import type { IDataObject, IExecuteFunctions, ILoadOptionsFunctions, IHookFunctions } from 'n8n-workflow'; /** * Create a mock IExecuteFunctions context */ export declare function createMockExecuteFunctions(overrides?: Partial): IExecuteFunctions; /** * Create a mock ILoadOptionsFunctions context */ export declare function createMockLoadOptionsFunctions(overrides?: Partial): ILoadOptionsFunctions; /** * Create a mock IHookFunctions context (for triggers) */ export declare function createMockHookFunctions(overrides?: Partial): IHookFunctions; /** * Create a mock API response */ export declare function createMockApiResponse(data: T, pagination?: { total?: number; hasMore?: boolean; }): { total?: number | undefined; hasMore?: boolean | undefined; data: T; }; /** * Create a mock company record */ export declare function createMockCompany(overrides?: Partial): IDataObject; /** * Create a mock person record */ export declare function createMockPerson(overrides?: Partial): IDataObject; /** * Create a mock note record */ export declare function createMockNote(overrides?: Partial): IDataObject; /** * Create a mock error for testing retry logic */ export declare function createMockError(statusCode: number, message?: string): Error & { response?: { status: number; } | undefined; statusCode?: number | undefined; }; /** * Create a mock network error */ export declare function createMockNetworkError(code: string, message?: string): Error & { code: string; };