import Base, { MaybeRaw } from "../../../../../Base"; import { PaginatedResponse, SearchParams } from "../../../../../interfaces/global"; import { OAuthAppWithConsent } from "../../../../../interfaces/idp/organization/settings/oauthApp"; export declare class IdpOAuthApps extends Base { /** * Retrieves all OAuth apps of the requesting User that match the provided search filter(s). Returns all OAuth apps if no search filter is provided. * @param filters (optional) Array of search filters * @param sorting (optional) Sorting object * @param limit (optional) Max number of results (1-100; defaults to 25) * @param page (optional) Page number: Skip the first (page * limit) results (defaults to 0) * @returns Object containing an array of OAuth apps and the total number of results found in the database (independent of limit and page) */ searchOAuthApps({ filters, sorting, limit, page }: SearchParams, raw?: { raw: R; }): Promise>>; /** * Revokes user access from the provided OAuth app. * @param oAuthAppId ID of the OAuth app */ revokeOAuthAppAccess(oAuthAppId: string, raw?: { raw: R; }): Promise>; protected getEndpoint(endpoint: string): string; }