declare class Debugger { #private; isPreview: boolean; debugLevels: string; constructor(); /** * This API toggles UI Inspector mode * @example PCore.getDebugger().toggleXRay(true) * @deprecated The toggleXRay method is deprecated. Please use the toggleInspector method going forward. */ toggleXRay(enable: boolean): void; get inspectorEnabled(): boolean; get inspectorShowAll(): boolean; /** * This API toggles UI Inspector mode * @example PCore.getDebugger().toggleInspector() */ toggleInspector(): void; /** * This API disables the UI Inspector if it is enabled * @example PCore.getDebugger().disableInspectorIfEnabled() */ disableInspectorIfEnabled(): void; /** * This API toggles the UI Inspector's show all mode * @example PCore.getDebugger().toggleInspectorShowAll() */ toggleInspectorShowAll(): void; get uiDesignerEnabled(): boolean; /** * Host reports whether the UI Designer top bar is expanded (not fullscreen). * When true alongside `uiDesignerEnabled`, enabling the UI Inspector is blocked. * * @example PCore.getDebugger().setDesignerToolbarExpanded(true) */ setDesignerToolbarExpanded(expanded: boolean): void; get uiDesignerToolbarExpanded(): boolean; /** * This API toggles UI Designer contract mode. When enabled, the runtime * stamps `data-editable-*` attributes on dx-components and the DesignerBridge * exchanges `ui-designer-*` postMessages with a host iframe. * * This flag is independent of `toggleInspector()` — the UI Inspector is a * developer-facing in-page panel, while the UI Designer contract is for * the authoring host. Both can be on, off, or toggled separately. * * @example PCore.getDebugger().toggleUIDesigner() */ toggleUIDesigner(): void; /** * This API set the previewMode to true * @example PCore.getDebugger().setPreviewMode() */ setPreviewMode(): void; /** * This API gets the current preview value * @example PCore.getDebugger().getPreviewMode() * @returns true/false * @private */ getPreviewMode(): boolean; /** * This API set the tracer flag as 1 * @example PCore.getDebugger().enableTracer() * @private */ enableTracer: () => void; /** * This API set the tracer flag as 0 * @example PCore.getDebugger().disableTracer() * @private */ disableTracer: () => void; getDebugLevels: () => string; } declare const _default: Debugger; export default _default;