import { type Client } from '../core.js'; import { type Result, type RequestOptions } from '../lib/types.js'; import type { ListAppsRequest, ListAppsResponse, GetAppRequest, GetAppResponse, UninstallAppRequest, UninstallAppResponse, UpdateAppRequest, UpdateAppResponse, ExecuteAppActionRequest, ExecuteAppActionResponse, ListAppCatalogRequest, ListAppCatalogResponse, GetAppCatalogItemRequest, GetAppCatalogItemResponse, InstallAppRequest, InstallAppResponse } from '../models/operations/apps.js'; /** * List apps * * List installed apps. * * GET /openmeter/apps */ export declare function listApps(client: Client, req?: ListAppsRequest, options?: RequestOptions): Promise>; /** * Get app * * Get an installed app. * * GET /openmeter/apps/{appId} */ export declare function getApp(client: Client, req: GetAppRequest, options?: RequestOptions): Promise>; /** * Uninstall app * * Uninstall an app by ID. * * DELETE /openmeter/apps/{appId} */ export declare function uninstallApp(client: Client, req: UninstallAppRequest, options?: RequestOptions): Promise>; /** * Update app * * Update an installed app. * * PUT /openmeter/apps/{appId} */ export declare function updateApp(client: Client, req: UpdateAppRequest, options?: RequestOptions): Promise>; /** * Execute app action * * Execute an operator action on an installed app. The action must be listed in the * app's `actions`; otherwise the request is rejected. * * POST /openmeter/apps/{appId}/action */ export declare function executeAppAction(client: Client, req: ExecuteAppActionRequest, options?: RequestOptions): Promise>; /** * List app catalog * * List available apps. * * GET /openmeter/app-catalog */ export declare function listAppCatalog(client: Client, req?: ListAppCatalogRequest, options?: RequestOptions): Promise>; /** * Get app catalog item by type * * Get an app catalog item by type. * * GET /openmeter/app-catalog/{appType} */ export declare function getAppCatalogItem(client: Client, req: GetAppCatalogItemRequest, options?: RequestOptions): Promise>; /** * Install app from the catalog * * Install an app from the catalog. * * POST /openmeter/app-catalog/install */ export declare function installApp(client: Client, req: InstallAppRequest, options?: RequestOptions): Promise>;