import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient"; import * as core from "../../../../core"; import * as Extend from "../../../index"; export declare namespace EvaluationSetsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class EvaluationSetsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options: EvaluationSetsClient.Options); /** * List evaluation sets in your account. * * @param {Extend.EvaluationSetsListRequest} request * @param {EvaluationSetsClient.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.evaluationSets.list({ * entityId: "entity_id_here", * nextPageToken: "xK9mLPqRtN3vS8wF5hB2cQ==:zWvUxYjM4nKpL7aDgE9HbTcR2mAyX3/Q+CNkfBSw1dZ=" * }) */ list(request?: Extend.EvaluationSetsListRequest, requestOptions?: EvaluationSetsClient.RequestOptions): core.HttpResponsePromise; private __list; /** * Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given extractor, classifier, or splitter. This endpoint will create a new evaluation set, which items can be added to using the [Create Evaluation Set Item](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/evaluation/create-evaluation-set-item) endpoint. * * Note: It is not necessary to create an evaluation set via API. You can also create an evaluation set via the Extend dashboard and take the ID from there. To learn more about how to create evaluation sets, see the [Evaluation Sets](https://docs.extend.ai/2026-02-09/product/evaluation/overview) product page. * * @param {Extend.EvaluationSetsCreateRequest} request * @param {EvaluationSetsClient.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.evaluationSets.create({ * name: "Invoice Processing Test Set", * description: "Q4 vendor invoices for accuracy testing", * entityId: "ex_1234567890" * }) */ create(request: Extend.EvaluationSetsCreateRequest, requestOptions?: EvaluationSetsClient.RequestOptions): core.HttpResponsePromise; private __create; /** * Retrieve a specific evaluation set by ID. This returns an evaluation set object, but does not include the items in the evaluation set. You can use the [List Evaluation Set Items](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/evaluation/list-evaluation-set-items) endpoint to get the items in an evaluation set. * * @param {string} id - The ID of the evaluation set. * * Example: `"ev_2LcgeY_mp2T5yPaEuq5Lw"` * @param {Extend.EvaluationSetsRetrieveRequest} request * @param {EvaluationSetsClient.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.evaluationSets.retrieve("evaluation_set_id_here") */ retrieve(id: string, request?: Extend.EvaluationSetsRetrieveRequest, requestOptions?: EvaluationSetsClient.RequestOptions): core.HttpResponsePromise; private __retrieve; }