FindMath.d.ts 483 B

123456789101112
  1. import { OptionList } from '../util/Options.js';
  2. import { ProtoItem } from './MathItem.js';
  3. export interface FindMath<N, T, _D> {
  4. findMath(node: N): ProtoItem<N, T>[];
  5. findMath(strings: string[]): ProtoItem<N, T>[];
  6. }
  7. export declare abstract class AbstractFindMath<N, T, D> implements FindMath<N, T, D> {
  8. static OPTIONS: OptionList;
  9. protected options: OptionList;
  10. constructor(options: OptionList);
  11. abstract findMath(where: N | string[]): ProtoItem<N, T>[];
  12. }