/** * Markdown parsing options */ export declare interface MarkdownOptions { gfm?: boolean breaks?: boolean headerIds?: boolean headerPrefix?: string highlight?: (code: string, lang: string) => string pedantic?: boolean smartLists?: boolean smartypants?: boolean sanitize?: boolean } /** * Parsed markdown with frontmatter */ export declare interface ParsedMarkdown { data: T content: string original: string matter?: string } /** * YAML parsing options */ export declare interface YamlOptions { strict?: boolean schema?: 'core' | 'json' | 'default' } /** * Binary CLI configuration */ export declare interface BinaryConfig { from: string verbose: boolean } /** * Token types for markdown parsing */ export declare interface Token { type: string raw: string depth?: number text?: string tokens?: Token[] lang?: string href?: string title?: string ordered?: boolean start?: number loose?: boolean items?: Token[] header?: string[] align?: Array<'left' | 'center' | 'right' | null> rows?: string[][] task?: boolean checked?: boolean } /** * JSON-compatible value types that YAML/TOML parsers can produce */ export type JsonValue = string | number | boolean | null | JsonValue[] | { [key: string]: JsonValue } /** * JSON-compatible object type */ export type JsonObject = { [key: string]: JsonValue }