import type { Plugin } from 'unified'; import type { VFile } from 'vfile'; import type { GenericParent } from 'myst-common'; import type { Link } from 'myst-spec-ext'; import type { LinkTransformer } from './types.js'; type Options = { transformers: LinkTransformer[]; selector?: string; }; /** * Formats long urls so that they break on smaller screens. * Uses a zero-width space, same as a `` but no fancy rendering required. * https://css-tricks.com/better-line-breaks-for-long-urls/ */ export declare function formatLinkText(link: Link): void; export declare function linksTransform(mdast: GenericParent, file: VFile, opts: Options): void; export declare const linksPlugin: Plugin<[Options], GenericParent, GenericParent>; export {}; //# sourceMappingURL=plugin.d.ts.map