import { IExecuteFunctions, IDataObject } from 'n8n-workflow'; import { IEndpointConfig, ITokenRefreshResult, IValidationAttemptResult } from './types'; export declare function calculateJitter(baseValue: number): number; export declare function generateUniqueTimestamp(): number; export declare function createRequestHeaders(additionalHeaders?: IDataObject): IDataObject; export declare function isTokenError(error: any): boolean; export declare function calculateBackoffDelay(retries: number, baseDelay?: number): number; export declare function makeValidationRequest(context: IExecuteFunctions, endpoint: IEndpointConfig): Promise; export declare function performPreValidation(context: IExecuteFunctions): Promise; export declare function performDirectTokenRefresh(context: IExecuteFunctions): Promise; export declare function refreshTokenForRetry(context: IExecuteFunctions, retryCount: number): Promise; export declare function executeRefreshStrategies(context: IExecuteFunctions): Promise; export declare function validateSleepToken(context: IExecuteFunctions, operation: string): Promise; export declare function createTokenErrorMessage(maxRetries: number, error: any, tokenRefreshed: boolean): string;