import { ContextProviderProps } from "./types.cjs"; //#region src/GlobalContext/GlobalContext.d.ts /** * Provides a reactive Pastweb global context to a React subtree. * * `GlobalContext` starts from the nearest parent context, applies `update` * values, then runs optional installer functions from `use`. Descendants can * subscribe to individual values with {@link getContext}. * * Installer-returned keys are guarded against accidental collisions with values * already present in the local scope. * * @param props - Provider options. * @param props.children - React subtree that receives the context. * @param props.use - Installer or installers used to add shared values. * @param props.update - Values merged into the local context for this provider. * * @example * ```tsx * const installUser = () => ({ user: { name: 'Ada' } }); * * * * * ``` */ declare function GlobalContext(props: ContextProviderProps): import("react").JSX.Element; //#endregion export { GlobalContext }; //# sourceMappingURL=GlobalContext.d.cts.map