import type { IDataObject, IExecuteFunctions, IHttpRequestMethods, ILoadOptionsFunctions } from 'n8n-workflow'; import type { TwentyApiSurface } from './contracts'; type TwentyRequestContext = IExecuteFunctions | ILoadOptionsFunctions; export interface TwentyRequestOptions { method: IHttpRequestMethods; surface: TwentyApiSurface; path?: string; query?: IDataObject; body?: IDataObject | IDataObject[]; retry?: 'auto' | 'safe' | 'never'; allowGraphqlErrors?: boolean; } export declare function twentyApiRequest(context: TwentyRequestContext, options: TwentyRequestOptions): Promise; export {};