import { SubscriptionHandler } from "@amazon-connect/core"; import { InstanceStateChanged, InstanceStateChangedHandler, StateChanged } from "../host"; import { AppInstanceData } from "./app-instance-data"; import { AppHost } from "./host"; export type AppStateChanged = StateChanged; export type AppStateChangedHandler = SubscriptionHandler; export type AppProvisioned = AppStateChanged; export type AppProvisionedHandler = SubscriptionHandler; export type AppRunning = AppStateChanged; export type AppRunningHandler = SubscriptionHandler; export type AppStopped = AppStateChanged; export type AppStoppedHandler = SubscriptionHandler; export type AppRestarting = AppStateChanged; export type AppRestartingHandler = SubscriptionHandler; export type AppDestroying = AppStateChanged; export type AppDestroyingHandler = SubscriptionHandler; export type AppDestroyed = AppStateChanged; export type AppDestroyedHandler = SubscriptionHandler; export type AppError = AppStateChanged & { error: unknown; }; export type AppErrorHandler = SubscriptionHandler; export type AppFocused = { host: AppHost; focusRequestTime: number; }; export type AppFocusedHandler = SubscriptionHandler; export type AppInstanceStateChanged = InstanceStateChanged; export type AppInstanceStateChangedHandler = InstanceStateChangedHandler; export type AppInstanceFocused = AppInstanceData & { focusRequestTime: number; }; export type AppInstanceFocusedHandler = SubscriptionHandler; //# sourceMappingURL=app-event-types.d.ts.map