/** One line of the `.mmd` text; `number` is 1-based, `text` has no line terminator. */ export interface SourceLine { readonly number: number; readonly text: string; } /** Splits on `\n`, `\r\n` or `\r`; a trailing terminator yields a final empty line (harmless: blank lines are skipped). */ export declare function splitLines(text: string): SourceLine[]; /** `%%` at the start of the line (after indentation). Mermaid ignores such lines everywhere, note blocks included. */ export declare function isCommentLine(text: string): boolean; /** `%% @kind ...` — a directive of ours. */ export declare function isDirectiveLine(text: string): boolean; /** `%%{ ... }%%` — a mermaid init directive, rejected by the converter. */ export declare function isInitDirectiveLine(text: string): boolean;