export declare function parseFrontmatter(content: string): { meta: Record; body: string; }; export declare function asStringArray(value: unknown): string[]; export declare function asString(value: unknown, fallback?: string): string; /** * Strip markdown code segments (inline `…` and fenced ``` blocks) from message * text, replacing them with same-length whitespace so offsets stay stable. * * Used before mention parsing/rendering: code is literal text, never a command * — an `@name` inside backticks must not activate or tint (designer alignment * blocker, architect ruling 2026-08-04). */ export declare function stripCodeSegments(text: string): string; //# sourceMappingURL=markdown.d.ts.map