site/node_modules/speech-rule-engine/js/audio/audio_renderer.d.ts
2024-10-14 08:09:33 +02:00

12 lines
409 B
TypeScript

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;
}