declare global { interface Window { bp: { _stateService: GlobalState; debug: () => void; debugElements: () => void; }; structuredClone: (value: T, transferables?: any) => T; } } export interface BpState { environment: { production: boolean; }; i18nRegistry: Readonly>; elementRegistry: { name: string; version: string; }[]; } export declare class GlobalState { #private; readonly stateUpdate: import("../index.js").BroadcastObservable<{ type: string; state: Partial; }>; get state(): BpState; dispatch(type: string, state: Partial): void; } export declare const GlobalStateService: GlobalState;