Skip to content

VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.

384 B
Raw Blame
export type MarkdownInlineSegment = {
  type: 'text' | 'bold' | 'code';
  text: string;
};

export type MarkdownBlock =
  | { type: 'heading'; level: number; text: string }
  | { type: 'bullet'; text: string }
  | { type: 'para'; text: string };

export function inlineSegments(line: unknown): MarkdownInlineSegment[];
export function parseBlocks(markdown: unknown): MarkdownBlock[];