import { Host } from "@adobe/uix-host"; /** * @public */ export declare class OutsideOfExtensionContextError extends Error { outsideOfExtensionContext: boolean; constructor(msg: string); } /** @public */ type UseHostResponse = { host: undefined; error: Error; } | { host: Host; error: undefined; }; /** * Retrieve the {@link @adobe/uix-host#Host} object hosting all extensions inside the current parent provider. * * @remarks Returns a `{ host, error }` tuple, not the host object directly. * @beta */ export declare function useHost(): UseHostResponse; export {}; //# sourceMappingURL=useHost.d.ts.map