import type { AxiosResponse, RawAxiosRequestConfig } from "axios"; import { Search, SearchApi, SearchApiSearchPostV1Request } from "./search/api"; export interface PaginationParams { /** * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @type {number} * @memberof AccountsApiListAccounts */ limit?: number; /** * Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @type {number} * @memberof AccountsApiListAccounts */ offset?: number; /** * If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. * @type {boolean} * @memberof AccountsApiListAccounts */ count?: boolean; /** * Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **identityId**: *eq* **name**: *eq, in* **nativeIdentity**: *eq, in* **sourceId**: *eq, in* **uncorrelated**: *eq* * @type {string} * @memberof AccountsApiListAccounts */ filters?: string; axiosOptions?: RawAxiosRequestConfig; } export interface ExtraParams { [key: string]: any; } interface SearchApiTypeMap { SearchApi: { search: Search; searchParams: SearchApiSearchPostV1Request; document: object; }; } type ApiType = keyof SearchApiTypeMap; type ApiInstanceMap = { SearchApi: SearchApi; }; export declare class Paginator { static paginate(thisArg: T, callbackFn: (this: T, args: A) => Promise>, args?: A, increment?: number): Promise>; static paginateGenerator(thisArg: T, callbackFn: (this: T, args: A) => Promise>, args?: A, increment?: number): AsyncGenerator, void, unknown>; static paginateSearchApi(searchAPI: ApiInstanceMap[T], search: SearchApiTypeMap[T]["search"], increment?: number, limit?: number): Promise>; static paginateSearchApiGenerator(searchAPI: ApiInstanceMap[T], search: SearchApiTypeMap[T]["search"], increment?: number, limit?: number): AsyncGenerator, void, unknown>; } export {};