UNPKG

@curvenote/cli-plugin

Version:
57 lines 1.52 kB
import type { VFile } from 'vfile'; import type { DirectiveData } from 'myst-common'; export declare function validateStringOptions(vfile: VFile, fieldName: string, field: unknown, validValues?: string[]): void; export declare function makePlaceholder(data: DirectiveData, description: string): ({ type: "admonition"; children: ({ type: "admonitionTitle"; children: { type: "inlineCode"; children: { type: "text"; value: string; }[]; }[]; } | { type: "paragraph"; children: ({ type: "text"; value: string; } | { type: "strong"; children: { type: "text"; value: string; }[]; } | ({ type: "link"; children: { type: "text"; value: string; }[]; } & { url: string; }))[]; } | { type: "paragraph"; children: ({ type: "text"; value: string; } | { type: "ul"; children: { type: "listItem"; children: ({ type: "inlineCode"; value: string; } | { type: "text"; value: string; })[]; }[]; })[]; })[]; } & { kind: string; })[]; //# sourceMappingURL=utils.d.ts.map