2024-02-17 22:58:54 +02:00
|
|
|
/*
|
|
|
|
* This file contains type definitions for libraries that did not have one
|
|
|
|
* in its library or in `@types/*` packages.
|
|
|
|
*/
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
declare module "unescape" {
|
2024-02-17 22:58:54 +02:00
|
|
|
function unescape(str: string, type?: string): string;
|
2024-07-18 21:50:12 +03:00
|
|
|
export default unescape;
|
2024-02-17 22:58:54 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
declare module "html2plaintext" {
|
2024-02-17 22:58:54 +02:00
|
|
|
function html2plaintext(htmlText: string): string;
|
2024-07-18 21:50:12 +03:00
|
|
|
export default html2plaintext;
|
2024-02-18 11:16:30 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
declare module "normalize-strings" {
|
2024-02-18 11:16:30 +02:00
|
|
|
function normalizeString(string: string): string;
|
2024-07-18 21:50:12 +03:00
|
|
|
export default normalizeString;
|
2024-02-19 21:59:40 +02:00
|
|
|
}
|
|
|
|
|
2025-02-08 22:59:28 +02:00
|
|
|
declare module "@joplin/turndown-plugin-gfm" {
|
2024-07-18 21:37:45 +03:00
|
|
|
import TurndownService from "turndown";
|
2024-02-19 21:59:40 +02:00
|
|
|
namespace gfm {
|
|
|
|
function gfm(service: TurndownService): void;
|
|
|
|
}
|
2024-07-18 21:50:12 +03:00
|
|
|
export default gfm;
|
2024-02-20 23:29:03 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
declare module "is-animated" {
|
2024-02-20 23:29:03 +02:00
|
|
|
function isAnimated(buffer: Buffer): boolean;
|
2024-07-18 21:50:12 +03:00
|
|
|
export default isAnimated;
|
2024-12-22 15:45:54 +02:00
|
|
|
}
|