declare const aligns: { readonly left: readonly ["padEnd", " "]; readonly right: readonly ["padStart", ":"]; }; export type Align = keyof typeof aligns; interface Table { end: (t: Record[]) => M; add: (field: K, title: M, align: Align) => Table; } export interface Markdown { table: Table; text: (s: string) => M; t: (s: TemplateStringsArray) => M; section: (title: M, body: M) => M; pre: (text: M) => M; } export type GetRow = T extends (x: (infer R)[]) => infer _ ? R : never; export declare const md: Markdown; export {};