Files
NapCatQQ/.pnpm-store/v3/files/89/eaace38c4076ef04f8b667ffce952ba9a841463b08e26bf8592994147ce2459308eb03cf2502b47fc2f85b59e00da282ae9b13d0442ea186e08eba5702a0f6
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

14 lines
513 B
Plaintext

import Inline from '../blots/inline.js';
declare class Link extends Inline {
static blotName: string;
static tagName: string;
static SANITIZED_URL: string;
static PROTOCOL_WHITELIST: string[];
static create(value: string): HTMLElement;
static formats(domNode: HTMLElement): string | null;
static sanitize(url: string): string;
format(name: string, value: unknown): void;
}
declare function sanitize(url: string, protocols: string[]): boolean;
export { Link as default, sanitize };