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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
declare module 'unescape' {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'html2plaintext' {
|
|
|
|
function html2plaintext(htmlText: string): string;
|
2024-07-18 21:50:12 +03:00
|
|
|
export default html2plaintext;
|
2024-02-18 11:16:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'normalize-strings' {
|
|
|
|
function normalizeString(string: string): string;
|
2024-07-18 21:50:12 +03:00
|
|
|
export default normalizeString;
|
2024-02-19 21:59:40 +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
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'is-animated' {
|
|
|
|
function isAnimated(buffer: Buffer): boolean;
|
2024-07-18 21:50:12 +03:00
|
|
|
export default isAnimated;
|
2024-12-22 15:45:54 +02:00
|
|
|
}
|