import { LinkMatch } from './types'; export declare const BUILTIN_LINK_RULES: { pattern: RegExp; type: string; }[]; export declare function buildCustomLinkRules(customPlatforms: any[]): { pattern: RegExp; type: string; }[]; export declare function linkTypeParser(content: string, customRules: { pattern: RegExp; type: string; }[]): LinkMatch[]; export declare function extractAllUrlsFromMessage(session: any, customRules: { pattern: RegExp; type: string; }[]): LinkMatch[];