import type { SingleResourceAnalysis } from '../../types/analysis.types';
import type { AxiosClient, JsonParser } from './pollJobStatus.types';
export interface ProcessResultParams {
    result: string | SingleResourceAnalysis;
    jsonParser: JsonParser;
}
export interface ErrorHandlerParams {
    error: unknown;
    jobId: string;
}
export interface PollJobStatusOptions {
    maxAttempts?: number;
    intervalMs?: number;
}
export interface CreatePollJobStatusParams {
    apiUrl: string;
    client: AxiosClient;
    options?: PollJobStatusOptions;
}
export interface PollJobStatusParams {
    jobId: string;
    authToken: string;
    fingerprint: string;
}
export declare const createPollJobStatus: ({ apiUrl, client, options, }: CreatePollJobStatusParams) => ({ jobId, authToken, fingerprint, }: PollJobStatusParams) => Promise<SingleResourceAnalysis>;
