import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient"; import * as core from "../../../../core"; import * as Extend from "../../../index"; export declare namespace EditTemplatesClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class EditTemplatesClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options: EditTemplatesClient.Options); /** * Retrieve a saved edit template by ID. * * Use this endpoint to inspect the source file, default edit configuration, and optional schema generation configuration saved on an edit template. You can reuse the returned `config` with `POST /edit` or `POST /edit_runs`, and reuse `schemaConfig` with `POST /edit_schemas/generate`. * * @param {string} id - The unique identifier for the edit template. * * Example: `"edt_xK9mLPqRtN3vS8wF5hB2cQ"` * @param {Extend.EditTemplatesRetrieveRequest} request * @param {EditTemplatesClient.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.editTemplates.retrieve("edit_template_id_here") */ retrieve(id: string, request?: Extend.EditTemplatesRetrieveRequest, requestOptions?: EditTemplatesClient.RequestOptions): core.HttpResponsePromise; private __retrieve; }