import type { Root } from 'mdast'; export interface Definition { title: string | null | undefined; url: string; } export type DefinitionsMap = Record; /** * Fills the provided record with `Definition`s contained in the mdast. * They are keyed by identifier for subsequent `Reference` lookups. */ export declare const collectDefinitions: (definitions: DefinitionsMap) => (tree: Root) => void; /** * Removes `Definition`s and their parent `Paragraph`s from the mdast. * This avoids unwanted negative space in stringified output. */ export declare const removeDefinitions: () => (tree: Root) => Root | undefined; //# sourceMappingURL=definitions.d.ts.map