import type { IExecuteFunctions } from 'n8n-workflow'; import type { ObjectMetadataService, RecordService } from './contracts'; export type FixedRecordResource = 'company' | 'person' | 'opportunity' | 'task' | 'note'; export declare class TwentyRecordResponseError extends Error { constructor(message: string); } export declare function createFixedRecordService(context: IExecuteFunctions, resource: FixedRecordResource): RecordService; export declare function createRecordService(context: IExecuteFunctions, metadata?: ObjectMetadataService): RecordService;