UNPKG

@meldscience/meld

Version:

pipeable one-shot prompt scripting toolkit

25 lines (24 loc) 655 B
import { Node } from 'unist'; import { Plugin } from 'unified'; declare module 'mdast' { interface RootContentMap { meldDirective: MeldDirectiveNode; } } export interface MeldDirectiveNode extends Node { type: 'meldDirective'; meldType: 'cmd' | 'import'; raw: string; lineNumber?: number; data?: { command?: string; importPath?: string; heading?: string; importSymbol?: string; importSymbolList?: string[]; headingLevelOverride?: string; headingTextOverride?: string; importWholeFile?: boolean; }; } export declare const remarkMeldDirectives: Plugin;