site/node_modules/speech-rule-engine/js/highlighter/css_highlighter.d.ts

11 lines
334 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
import { AbstractHighlighter, Highlight } from './abstract_highlighter';
export declare class CssHighlighter extends AbstractHighlighter {
constructor();
highlightNode(node: HTMLElement): {
node: HTMLElement;
background: string;
foreground: string;
};
unhighlightNode(info: Highlight): void;
}