import { IDataObject, INode } from 'n8n-workflow'; import { CloudinaryCredentials } from './operations/types'; export declare const USER_AGENT: string; export declare const jsonHeaders: () => Record; export declare const basicAuth: (creds: CloudinaryCredentials) => { username: string; password: string; }; export declare const buildUploadUrl: (cloudName: string, resourceType: string) => string; export declare const buildResourceUpdateUrl: (cloudName: string, resourceType: string, type: string, publicId: string) => string; export declare const buildResourceByAssetIdUrl: (cloudName: string, assetId: string) => string; export interface DeliveryUrlOptions { cloudName: string; resourceType: string; type: string; publicId: string; transformation?: string; format?: string; version?: string | number; privateCdn?: boolean; secureDistribution?: string; } export declare const buildDeliveryUrl: (opts: DeliveryUrlOptions) => string; export declare const joinTransformation: (components: Array) => string; export declare const buildTagsActionUrl: (cloudName: string, resourceType: string) => string; export declare const buildResourceDeleteUrl: (cloudName: string, resourceType: string, type: string) => string; export declare const splitCsvIds: (csv: string) => string[]; export declare const metadataToPipeString: (input: IDataObject | string, node: INode) => string; export declare const generateCloudinarySignature: (params: IDataObject, apiSecret: string) => string; export declare const createMultipartBody: (fields: Record, fileData: Buffer, fileName: string, mimeType: string) => { body: Buffer; boundary: string; }; export declare const buildSearchExpression: (input: string, resourceTypes: string[]) => string; export interface CloudinaryErrorInfo { status: number | string | undefined; retryAfter: string | undefined; cloudinaryMessage: string | undefined; } export declare const extractCloudinaryError: (error: any) => CloudinaryErrorInfo;