myst-cli
Version:
Command line tools for MyST
12 lines • 578 B
TypeScript
import type { VFileMessage } from 'vfile-message';
import type { ISession } from '../session/types.js';
import type { WarningKind } from '../store/types.js';
export declare function addWarningForFile(session: ISession, file: string | undefined | null, message: string, severity?: WarningKind, opts?: {
note?: string | null;
url?: string | null;
position?: VFileMessage['position'];
ruleId?: string | null;
/** This key can be combined with the ruleId to suppress a warning */
key?: string | null;
}): void;
//# sourceMappingURL=addWarningForFile.d.ts.map