import { BaseApi } from "../base-api"; import type { JsonSchemaConnectorPolicy } from "../collaboration-policy/core/jsonschema/json-schema-types"; import type { ApiRecords, ApiRecordsV2 } from "../types"; import type { App, Installation } from "./types"; /** * @module AppsApi * @description This module provides methods for fetching app records. * @extends BaseApi */ declare class AppsApi extends BaseApi { /** * List apps available on the platform. * @param {string | string[]} [appCategory] - Optional filter for app categories * (`category` query param; repeatable). * @returns {Promise>} - Promise resolving with the list of apps. */ getApps(appCategory?: string | string[]): Promise>; /** * List installations for the authenticated company (or, with an app * client-credentials token, for the authenticated app across all * companies). Delegates to the same paginated `/installations` endpoint as * `InstallationsApi.getInstallations`. * @param {string | string[]} [appCategory] - Optional filter for app categories * (`app_category` query param; repeatable). * @param {number} [companyId] - Optional company filter (`company_id` query * param), only meaningful with an app client-credentials token. * @returns {Promise>} - Promise resolving with the * paginated list of installations. */ getInstalledApps(appCategory?: string | string[], companyId?: number): Promise>; /** * Get all interfaces for the current user's installed connectors. * @param {string[]} [tags] - Optional tags to filter interfaces (e.g. ["audience_delivery"]). * @returns {Promise>} - Promise resolving with the list of interfaces. */ getInstalledInterfaces(tags?: string[]): Promise>; } export { type App, AppsApi, type Installation };