import type { ComponentType, FC } from 'react'; import type { AppCoordinates, ChatActions, DashboardAppLastAnnotation, DevCenterAppResource, DevCenterCurrentUser, DevCenterRouter, LayoutEnvironment, RegisterAITools, SetIsFullscreenModalMode, UpdateDashboardAppLastAnnotation } from './types'; import type { FullscreenModes } from '../../../types'; import type { AppDashboardMeta } from '../../../componentsV2/AppCommonsProvider/AppCommonsContext'; /** * `Partial` carries the seven browser-fullscreen and separate-window members. * `AppCommonsProvider` derives `isExpanded` from them and republishes them to the app bundle, * so dropping them silently disables both features — and nothing type-checks it, because every * member is optional on the provider. */ export type DevCenterAppContainerProps = Partial & { app: DevCenterAppResource; currentUser: DevCenterCurrentUser; /** Platform router. Not React Router — the DC shell supplies its own. */ devCenterRouter: DevCenterRouter; /** * Slots for the CLI app bundle's own components. `any` rather than a narrower prop type on * purpose: this accepts arbitrary app components, and any narrowing would reject the concretely * typed ones consumers pass. */ CLIAppComponent?: ComponentType | null; CLIAppSettings?: ComponentType | null; /** Defaults to `app.id` when omitted. */ appId?: number; className?: string | null; chatActions?: ChatActions | null; coordinates?: AppCoordinates | null; currentDashboardAppsLastAnnotations?: DashboardAppLastAnnotation[] | null; dashboardMeta?: AppDashboardMeta; disableAppAssetSelection?: boolean; isActionsDisabled?: boolean; /** * [REACT-18-MIGRATION-TAG] PLT-3099: the platform's isolation decision, passed only by the * in-process branch of DevCenterIsolatedApp; iframe mounts leave it false. */ isNonIsolatedApp?: boolean; isSettingsDialogHidden?: boolean; layoutEnvironment?: LayoutEnvironment | null; onAppContainerClick?: () => void; onAppRemove?: () => void; onCloneDashboard?: () => void; onHelpCenterClick?: () => void; onIsMaximizedChange?: (isMaximized: boolean) => void; onReportBugClick?: (() => void) | null; onSettingChange?: (key: string, value: unknown) => void; onSettingsChange?: (value: unknown) => void; openIntercom?: () => void; registerAITools?: RegisterAITools; reloadApp?: () => void; setIsFullscreenModalMode?: SetIsFullscreenModalMode; timestamp?: number | null; updateCurrentDashboardAppLastAnnotation?: UpdateDashboardAppLastAnnotation; }; declare const DevCenterAppContainer: FC; export default DevCenterAppContainer; //# sourceMappingURL=DevCenterAppContainer.d.ts.map