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 * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * List risk snapshots for an audit * * @remarks * Returns a paginated list of risk assessment snapshots available for an audit. * * Risk snapshots capture the state of an organization's risk register at a * point in time. Each snapshot has an `id` that can be used with the * `/audits/{auditId}/risks` endpoint to retrieve the individual risk * scenarios within that snapshot. * * Results are sorted by creation date (newest first). This sort order is * fixed and cannot be customized via query parameters. Only snapshots * that are shared with auditors are included. * * Uses cursor-based pagination. To paginate: * 1. Make initial request with desired `pageSize` * 2. Check `results.pageInfo.hasNextPage` * 3. Use `results.pageInfo.endCursor` as `pageCursor` for next request * * Supports audits with one or more program segments. * Audits with system segments are not supported by this endpoint. * * Only Controlled Audit View (CAV) audits are supported. Full Audit View * audits are rejected with 403. Returns 403 if the customer has not made * this population page visible to auditors. * * Rate limit: 10 requests / minute. */ export declare function auditsListRiskSnapshots(client: VantaCore, request: operations.ListRiskSnapshotsRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=auditsListRiskSnapshots.d.ts.map