/** * Parse the metadata that follows a code fence's language: * * ```ts title="vite.config.ts" showLineNumbers startLine=12 * * mdsvex hands this string to the highlighter as its third argument, so no * extra plumbing is needed to read it. Unknown entries are ignored rather than * rejected, so a fence never fails a build over an unrecognised flag. */ export type FenceMeta = { /** Filename or caption shown above the block. */ title?: string; /** Whether to number the lines. `undefined` means "use the global default". */ lineNumbers?: boolean; /** First line's number, for a snippet lifted out of a larger file. */ startLine?: number; }; export declare function parseFenceMeta(meta?: string | null): FenceMeta; /** Whether a fence opts into Twoslash: ```ts twoslash */ export declare function hasTwoslash(meta?: string | null): boolean;