import { ClientDescriptorMap } from '@voltro/client'; import { ComponentType } from 'react'; import { MountedApi } from '@voltro/client'; import { ReactNode } from 'react'; export { ClientDescriptorMap } export declare const FrameworkBoot: ({ App, apis, Devtools }: FrameworkBootProps) => ReactNode; export declare interface FrameworkBootProps { readonly App: ComponentType; readonly apis: ReadonlyArray; /** Optional devtools overlay. Rendered as a sibling to * inside the FrameworkRuntimesProvider tree so its hooks * (useFrameworkRuntimes etc.) resolve. PascalCase because it is a * React component reference rendered as . */ readonly Devtools?: ComponentType; } export { MountedApi } export declare const VoltroRuntimeProvider: ({ apis, children, chrome }: VoltroRuntimeProviderProps) => ReactNode; export declare interface VoltroRuntimeProviderProps { /** The apis to mount (name, group, descriptors, wsUrl, headers). */ readonly apis: ReadonlyArray; /** Rendered inside the resolved runtime contexts — the host's tree. */ readonly children: ReactNode; /** Optional extra chrome rendered (post-hydration only) inside the * runtime contexts, alongside the framework's own NavigationIndicator * + trace-error overlay. The framework's own web bootstrap passes its * Devtools overlay here (see `FrameworkBoot`); foreign hosts leave it * unset. Gated behind the same post-mount flag as the rest of the * chrome so it never trips a hydration mismatch. */ readonly chrome?: ReactNode; } export { }