import { BaseClient } from '../base-client'; import { type JobDbType } from '../../types/job.types'; /** * Service for job progress tracking and monitoring. * Provides standardized interfaces for job status queries and progress events. */ export declare class JobProgressService extends BaseClient { constructor(apiUrl: string, token: string); /** * Retrieves a job by its ID. * @param jobId The unique identifier of the job. * @returns The job object with current status and progress information. * @throws Error if the job cannot be retrieved. */ getJob(jobId: string): Promise; /** * Retrieves all scorer jobs for a specific project run. * Filters to only return jobs with job_name === 'log_stream_scorer'. * @param projectId The unique identifier of the project. * @param runId The unique identifier of the run. * @returns Array of scorer jobs for the run. * @throws Error if the jobs cannot be retrieved. */ getRunScorerJobs(projectId: string, runId: string): Promise; /** * Retrieves the latest job for a specific project and run. * @param projectId The unique identifier of the project. * @param runId The unique identifier of the run. * @returns The latest job for the project and run, or null if not found. * @throws Error if the job cannot be retrieved. */ getLatestJobForProjectRun(projectId: string, runId: string): Promise; }