site/node_modules/speech-rule-engine/js/enrich_mathml/enrich_case.d.ts

11 lines
337 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import { SemanticNode } from '../semantic_tree/semantic_node';
export interface EnrichCase {
getMathml(): Element;
}
export interface Case {
test: (p1: SemanticNode) => boolean;
constr: (p1: SemanticNode) => EnrichCase;
}
export declare function getCase(node: SemanticNode): EnrichCase;
export declare const factory: Case[];