5 export type LinkMatcher = {
8 handler: LinkMatcherHandler,
10 validationCallback?: LinkMatcherValidationCallback,
13 export type LinkMatcherHandler = (event: MouseEvent, uri: string) => boolean | void;
14 export type LinkMatcherValidationCallback = (uri: string, callback: (isValid: boolean) => void) => void;