import type { JobDbType } from '../types/job.types'; export interface JobProgressLogger { info: (message: string) => void; debug: (message: string) => void; } export interface PollJobOptions { timeout?: number; initialBackoff?: number; maxBackoff?: number; onProgress?: (job: JobDbType) => void; signal?: AbortSignal; showProgressBar?: boolean; logger?: JobProgressLogger; } /** * Gets and logs the status of all scorer jobs for a given project and run. * @param projectId The unique identifier of the project. * @param runId The unique identifier of the run. * @param logger Optional logger interface (defaults to internal SDK logger). */ export declare function logScorerJobsStatus(projectId: string, runId: string, logger?: JobProgressLogger): Promise; /** * Monitors job progress with progress bar and logs scorer jobs status after completion. * This function polls a job until completion and then reports on scorer job statuses. * @param jobId The unique identifier of the job to monitor. * @param projectId The unique identifier of the project. * @param runId The unique identifier of the run. * @param options Polling options. * @returns The unique identifier of the completed job. */ export declare function getJobProgress(jobId: string, projectId: string, runId: string, options?: PollJobOptions): Promise; /** * Gets a single job by its ID. * @param jobId The unique identifier of the job. * @returns The job object. */ export declare function getJob(jobId: string): Promise; /** * Gets all scorer jobs for a project run. * @param projectId The unique identifier of the project. * @param runId The unique identifier of the run. * @returns Array of scorer jobs. */ export declare function getRunScorerJobs(projectId: string, runId: string): Promise; /** * Gets the status of all scorer jobs for a given project and run. * Legacy function matching Python scorer_jobs_status() behavior. * @param projectId The ID of the project. * @param runId The ID of the run. * @param logger Optional logger interface (defaults to sdkLogger). */ export declare const getScorerJobsStatus: (projectId: string, runId: string, logger?: JobProgressLogger) => Promise;