import type { Schema, Slice } from '@atlaskit/editor-prosemirror/model'; import type { AnalyticsEventPayload } from '../analytics/types/events'; import type { InputMethodInsertLink } from '../analytics/types/insert-events'; export declare const DONTLINKIFY_REGEXP: RegExp; /** * Linkify content in a slice (eg. after a rich text paste) */ export declare function linkifyContent(schema: Schema): (slice: Slice) => Slice; export declare function isFromCurrentDomain(url: string): boolean; interface filepathMatch { endIndex: number; startIndex: number; } export declare const findFilepaths: (text: string, offset?: number) => Array; export declare const isLinkInMatches: (linkStart: number, matchesList: Array) => boolean; export declare function getLinkCreationAnalyticsEvent(inputMethod: InputMethodInsertLink, url: string): AnalyticsEventPayload; export { FILEPATH_REGEXP } from './FILEPATH_REGEXP'; export { LinkMatcher } from './LinkMatcher'; export { normalizeUrl } from './normalizeUrl'; export { getLinkDomain } from './getLinkDomain'; export { canLinkBeCreatedInRange } from './canLinkBeCreatedInRange';