trilium/src/types.d.ts
2024-02-20 23:29:03 +02:00

32 lines
790 B
TypeScript

/*
* 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;
export = unescape;
}
declare module 'html2plaintext' {
function html2plaintext(htmlText: string): string;
export = html2plaintext;
}
declare module 'normalize-strings' {
function normalizeString(string: string): string;
export = normalizeString;
}
declare module 'joplin-turndown-plugin-gfm' {
import TurndownService = require("turndown");
namespace gfm {
function gfm(service: TurndownService): void;
}
export = gfm;
}
declare module 'is-animated' {
function isAnimated(buffer: Buffer): boolean;
export = isAnimated;
}