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 snapshotted issues for an audit * * @remarks * Retrieves a list of all issues that have been shared with an audit. * * The issues returned are immutable, point-in-time snapshots; there may be duplicates of issues that have been snapshotted at different times. * The GET /audits/{auditId}/issues/snapshots endpoint can be used to retrieve metadata about the snapshots that issues belong to. * Issues represent compliance findings from a variety of sources that need to be tracked and remediated. * * Supports filtering by: * - `search`: full text search across issue title and description * - `snapshotId`: filtering to a specific snapshot or snapshots, which represent point-in-time captures of issues. Use the GET /audits/{auditId}/issues/snapshots endpoint to retrieve snapshot IDs and metadata. * - `createdAfterDate` / `createdBeforeDate`: filter to issues created within a date range (inclusive) * - `detectedAfterDate` / `detectedBeforeDate`: filter to issues detected within a date range (inclusive) * * Results are sorted by issue creation date in descending order (newest first) by default. * Use `orderBy` and `orderDirection` to customize sorting. * Sort parameters must remain consistent across paginated requests. * * 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 * * Rate limit: 10 requests / minute. */ export declare function auditsListAuditIssues(client: VantaCore, request: operations.ListAuditIssuesRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=auditsListAuditIssues.d.ts.map