import { ConnectClient, ConnectClientConfig } from "@amazon-connect/core"; import { AppConfig } from "@amazon-connect/workspace-types"; import { AppInstanceData, AppInstanceStateChangedHandler } from "./app"; import { AppLaunchOptions } from "./manager"; import { ClearAppManagerOptions, ClearAppManagerResult } from "./types"; /** * This class is for internal use only and should not be used by consumers. * @internal */ export declare class AppManagerClient extends ConnectClient { constructor(config: ConnectClientConfig); registerWorkspaceConnection(plugins?: string[]): Promise; getAppCatalog(): Promise; getAppConfig(appArn: string): Promise; launchApp(arnOrName: string, options?: AppLaunchOptions): Promise; destroyInstance(appInstanceId: string): Promise; /** * @deprecated Use `clearAppManager` instead. */ destroyAllInstances(): Promise<{ appInstanceIds: string[]; }>; /** * Clears all app instances and services managed by this app manager. * * @param options - Optional configuration for the clear operation. * @param options.waitForDestroy - When true, apps wait for their graceful * shutdown lifecycle to complete before being destroyed. Defaults to false. * @param options.force - @deprecated Use `waitForDestroy` instead. */ clearAppManager(options?: ClearAppManagerOptions): Promise; onStateChanged(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; offStateChanged(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; onProvisioned(handler: AppInstanceStateChangedHandler): void; offProvisioned(handler: AppInstanceStateChangedHandler): void; onRunning(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; offRunning(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; onStopped(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; offStopped(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; onRestarting(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; offRestarting(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; onDestroying(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; offDestroying(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; onDestroyed(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; offDestroyed(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; onError(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; offError(handler: AppInstanceStateChangedHandler, appInstanceId?: string): void; } //# sourceMappingURL=app-manager-client.d.ts.map