import { VantaCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { VantaError } from "../models/errors/vantaerror.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Duplicate an IRL audit * * @remarks * Duplicates an existing IRL audit into a new audit engagement with the supplied * displayName, audit dates, early access date, and auditor roster. Company, audit * type, and framework are copied from the source audit and cannot be changed. * * Each email in `allowAuditorEmails` must match an active user in the * authenticated audit firm's domain. Provision auditors via `POST /auditors` * before referencing them here, or copy emails from `GET /audits/{sourceAuditId}` * → `allowAuditorEmails` when duplicating with the same roster. * * Information requests are copied from the source audit. After duplication: * * - Requests with Vanta evidence will be pre-filled and marked as internal review. * * Review them before sharing with your customer. * - Requests where evidence was not available or was uploaded externally will need * * evidence added manually. * - Evidence capture dates and due dates can be modified after duplication. * * Audits with generated information requests can be duplicated only after their information * requests have been created successfully. * * Rate limit: 10 requests / minute. */ export declare function auditsDuplicate(client: VantaCore, request: components.DuplicateAuditRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=auditsDuplicate.d.ts.map