import type { Key } from '@astrale-os/sdk/schema'; import type { App, HostCapabilities, ResolvedView } from '@astrale-os/shell'; import type { CSSProperties, ReactNode } from 'react'; import type { SandboxPolicy, ViewHostHandle } from '../../window/host.js'; import type { WindowState } from '../../window/lifecycle/states.js'; export type AppHostFallbackState = WindowState | { readonly phase: 'opening'; } | { readonly phase: 'no-view'; }; export interface AppHostProps { app: App | Key.Origin; /** Override the installed Domain entry View. */ view?: ResolvedView; capabilities?: HostCapabilities; sandbox?: SandboxPolicy; fallback?: (state: AppHostFallbackState) => ReactNode; className?: string; style?: CSSProperties; } /** Resolve and mount an installed Domain through the ordinary Shell View lifecycle. */ export declare const AppHost: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=app-host.d.ts.map