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 groups for an audit * * @remarks * Retrieves groups population data for an audit. * * This endpoint provides access to the group records visible to auditors * during an audit engagement. Groups represent organizational units that * contain people, either imported from an identity provider (IDP) or * created manually in Vanta. * * Supports filtering by: * - `search`: Searches group names (case-insensitive) * - `sourcesMatchesAny`: Filters by IDP source service names * * Results are sorted by name (ascending) 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 * * 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 auditsListPersonnelGroups(client: VantaCore, request: operations.ListPersonnelGroupsRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=auditsListPersonnelGroups.d.ts.map