import type { JobSummaryResponse, JobStepSummaryResponse } from '@cratis/chronicle.contracts'; import { Guid } from '@cratis/fundamentals'; import { ChronicleConnection } from '../connection/index.js'; import { IJobs } from './IJobs.js'; import { JobId } from './JobId.js'; /** * Implements {@link IJobs}. */ export declare class Jobs implements IJobs { private readonly _eventStore; private readonly _namespace; private readonly _connection; /** * Creates a new {@link Jobs} instance. * @param _eventStore - The event store name. * @param _namespace - The event store namespace. * @param _connection - Chronicle connection. */ constructor(_eventStore: string, _namespace: string, _connection: ChronicleConnection); /** @inheritdoc */ stop(jobId: JobId | Guid | string): Promise; /** @inheritdoc */ resume(jobId: JobId | Guid | string): Promise; /** @inheritdoc */ delete(jobId: JobId | Guid | string): Promise; /** @inheritdoc */ getJob(jobId: JobId | Guid | string): Promise; /** @inheritdoc */ getJobs(): Promise; /** @inheritdoc */ getJobSteps(jobId: JobId | Guid | string): Promise; private createJobRequest; private normalizeJobId; } //# sourceMappingURL=Jobs.d.ts.map