import { S as Subject } from './core-BR8gTRyy.js'; /** * Visual debugging utility for Subject instances * Provides a real-time UI for inspecting and interacting with Subjects */ interface DebugOptions { /** * Maximum number of history entries to keep * @default 50 */ maxHistory?: number; /** * Enable dark mode * @default false */ darkMode?: boolean; /** * Title for the debug panel * @default Subject name or "Subject Debug" */ title?: string; /** * Enable value editor * @default true */ editable?: boolean; /** * Enable collapsible sections * @default true */ collapsible?: boolean; } /** * Creates a visual debugging UI for a Subject instance * * @param subject - The Subject instance to debug * @param container - DOM element to render the debug UI into * @param options - Configuration options * @returns Cleanup function to remove the debug UI * * @example * ```typescript * import { Subject } from 'subjecto' * import { debugSubject } from 'subjecto/debug' * * const counter = new Subject(0, { name: 'counter' }) * const cleanup = debugSubject(counter, document.getElementById('debug')) * * // Later: cleanup() * ``` */ declare function debugSubject(subject: Subject, container: HTMLElement, options?: DebugOptions): () => void; export { debugSubject };