import React from "react"; import type { ApplicationElement } from "./application"; export type ApplicationContext = { /** * Dismantles the React Tree, effectively unmounting all components * and then exits the application. */ quit(): void; applicationId: string; }; export declare const ApplicationContextProvider: (props: React.PropsWithChildren<{ application: ApplicationElement; }>) => React.FunctionComponentElement> | null; export declare const useApp: () => ApplicationContext;