import type { IDataObject, IExecuteFunctions, IHookFunctions, IHttpRequestMethods, ILoadOptionsFunctions, IWebhookFunctions } from 'n8n-workflow';
export declare const RD_CRM_BASE_URL = "https://crm.rdstation.com/api/v1";
type RdContext = IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions | IWebhookFunctions;
/**
 * Make a single authenticated request to the RD Station CRM v1 API.
 * The private token is injected as a query-string param by the credential.
 */
export declare function rdCrmApiRequest(this: RdContext, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, qs?: IDataObject): Promise<any>;
/**
 * Fetch every page of a paginated RD Station CRM list endpoint.
 *
 * Handles the two response shapes the API uses:
 *  - `{ [propertyName]: [...], has_more: boolean, total: number }`
 *  - a bare array `[...]`
 *
 * @param propertyName key that holds the array in wrapped responses (e.g. "deals", "contacts").
 */
export declare function rdCrmApiRequestAllItems(this: IExecuteFunctions | ILoadOptionsFunctions, propertyName: string, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, qs?: IDataObject): Promise<any[]>;
export {};
