site/node_modules/speech-rule-engine/js/audio/audio_renderer.d.ts

12 lines
409 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
import { KeyCode } from '../common/event_util';
import { AuditoryDescription } from './auditory_description';
import { Span } from './span';
export interface AudioRenderer {
setSeparator(sep: string): void;
getSeparator(): string;
markup(descrs: AuditoryDescription[]): string;
error(key: KeyCode | string): string | null;
merge(strs: Span[]): string;
finalize(str: string): string;
}