/** * Describes the options declared by the plugin. */ export interface PluginOptions { /** * An array of remark plugin names to be executed. */ remarkPlugins?: RemarkPlugin[]; /** * Custom options for the remark-stringify plugin. */ remarkStringifyOptions?: Record; } export type RemarkPlugin = string | [string, Record] | { applyTo: string[]; plugins: (string | [string, Record])[]; };