import { API } from 'zca-js';
import { IHookFunctions } from 'n8n-workflow';
import { WebhookData } from './types';
import { EventFilter } from './EventFilter';
export declare class CatchUpManager {
    private readonly cooldownMs;
    private lastRunAt;
    constructor(cooldownMs?: number);
    shouldRun(now?: number): boolean;
    markRun(now?: number): void;
    remainingCooldown(now?: number): number;
}
export declare function resolveCatchUpThreadTypes(threadTypes: string[]): number[];
export declare function requestCatchUp(apiInstance: API, threadTypes: number[]): boolean;
export declare function registerCatchUp(hookFunctions: IHookFunctions, apiInstance: API, webhookData: WebhookData, filter: EventFilter, threadTypes: string[], manager?: CatchUpManager): void;
