14 lines
441 B
TypeScript
14 lines
441 B
TypeScript
// Copyright 2019-2020 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
export function isLinkSafeToPreview(link: string): boolean;
|
|
|
|
export function findLinks(text: string, caretLocation?: number): Array<string>;
|
|
|
|
export function getDomain(href: string): string;
|
|
|
|
export function isGroupLink(href: string): boolean;
|
|
|
|
export function isLinkSneaky(link: string): boolean;
|
|
|
|
export function isStickerPack(href: string): boolean;
|