This commit is contained in:
counterweight 2026-05-14 10:56:04 +02:00
parent bc92231240
commit b8225c639e
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
11904 changed files with 1472749 additions and 133 deletions

View file

@ -0,0 +1,24 @@
import { AuditoryDescription } from '../audio/auditory_description.js';
import { BaseRuleStore, RulesJson } from './base_rule_store.js';
export declare class MathStore extends BaseRuleStore {
annotators: string[];
constructor();
initialize(): void;
annotations(): void;
defineAlias(name: string, prec: string, ...args: string[]): void;
defineRulesAlias(name: string, query: string, ...args: string[]): void;
defineSpecializedRule(name: string, oldDynamic: string, newDynamic: string, opt_action?: string): void;
defineSpecialized(name: string, _old: string, dynamic: string): void;
evaluateString(str: string): AuditoryDescription[];
parse(ruleSet: RulesJson): void;
private addAlias_;
static regexp: {
NUMBER: string;
DECIMAL_MARK: string;
DIGIT_GROUP: string;
};
protected matchNumber(str: string): {
number: string;
length: number;
} | null;
}