import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient"; import * as core from "../../../../core"; import * as Extend from "../../../index"; export declare namespace EvaluationSetRunsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class EvaluationSetRunsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options: EvaluationSetRunsClient.Options); /** * Create and start an async evaluation set run. The response returns the evaluation set run object with its initial status; use `GET /evaluation_set_runs/{id}` to poll for completion. * * Evaluation set runs are currently supported for document processor evaluation sets. * * @param {Extend.EvaluationSetRunsCreateRequest} request * @param {EvaluationSetRunsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Extend.BadRequestError} * @throws {@link Extend.UnauthorizedError} * @throws {@link Extend.PaymentRequiredError} * @throws {@link Extend.ForbiddenError} * @throws {@link Extend.NotFoundError} * @throws {@link Extend.UnprocessableEntityError} * @throws {@link Extend.TooManyRequestsError} * @throws {@link Extend.InternalServerError} * * @example * await client.evaluationSetRuns.create({ * evaluationSetId: "ev_2LcgeY_mp2T5yPaEuq5Lw", * entity: { * id: "ex_Xj8mK2pL9nR4vT7qY5wZ", * version: "1.0" * } * }) * * @example * await client.evaluationSetRuns.create({ * evaluationSetId: "ev_2LcgeY_mp2T5yPaEuq5Lw", * evaluationSetItemIds: ["evi_kR9mNP12Qw4yTv8BdR3H"] * }) */ create(request: Extend.EvaluationSetRunsCreateRequest, requestOptions?: EvaluationSetRunsClient.RequestOptions): core.HttpResponsePromise; private __create; /** * Get details of an evaluation set run. * * @param {string} id - The ID of the evaluation set run. * * Example: `"evr_Xj8mK2pL9nR4vT7qY5wZ"` * @param {Extend.EvaluationSetRunsRetrieveRequest} request * @param {EvaluationSetRunsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Extend.BadRequestError} * @throws {@link Extend.UnauthorizedError} * @throws {@link Extend.PaymentRequiredError} * @throws {@link Extend.ForbiddenError} * @throws {@link Extend.NotFoundError} * @throws {@link Extend.UnprocessableEntityError} * @throws {@link Extend.TooManyRequestsError} * @throws {@link Extend.InternalServerError} * * @example * await client.evaluationSetRuns.retrieve("evaluation_set_run_id_here") */ retrieve(id: string, request?: Extend.EvaluationSetRunsRetrieveRequest, requestOptions?: EvaluationSetRunsClient.RequestOptions): core.HttpResponsePromise; private __retrieve; }