UNPKG

interweave-autolink

Version:

URL, IP, email, and hashtag autolinking support for Interweave.

13 lines 477 B
import { ChildrenNode, Matcher, Node } from 'interweave'; import { MentionProps } from './types'; export declare class MentionMatcher extends Matcher<MentionProps> { replaceWith(children: ChildrenNode, props: MentionProps): Node; asTag(): string; match(string: string): import("interweave").MatchResponse<{ mention: string; }> | null; handleMatches(matches: string[]): { mention: string; }; } //# sourceMappingURL=MentionMatcher.d.ts.map