import type { Definition } from "./define.js"; export type DisplayState = { /** the HTML element in which to render this cell’s display */ root: HTMLDivElement; /** whether to clear on fulfilled */ autoclear?: boolean; /** for inspected values, any expanded paths; see getExpanded */ expanded: (number[][] | undefined)[]; }; export declare function display(state: DisplayState, value: unknown, name?: string): void; export declare function clear(state: DisplayState): void; export declare function observe(state: DisplayState, { autodisplay, assets, output }: Definition): { _error: boolean; _node: HTMLDivElement; pending(): void; fulfilled(value: unknown): void; rejected(error: unknown): void; };