src / types.d.ts
declare module 'archiver' { export default function archiver(format: string): any; }
declare module 'unzipper' { export default class unzipper {} }
declare module 'node-cron' { export default class cron { static schedule(expr: string, fn: () => void): any; static validate(expr: string): boolean; } }
declare module 'js-yaml' { export function load(str: string): any; export function dump(obj: any, opts?: any): string; }
declare module 'neo4j-driver' { export function driver(uri: string, auth: any, config?: any): any; export const auth: { basic(username: string, password: string): any }; }
declare module 'node-fetch' { export default function fetch(url: string, options?: any): Promise<any>; }
declare module 'pdf-lib' {
export class PDFDocument {
static load(buffer: Buffer): Promise<PDFDocument>;
save(): Promise<Buffer>;
}
}src / types.d.ts
declare module 'archiver' { export default function archiver(format: string): any; }
declare module 'unzipper' { export default class unzipper {} }
declare module 'node-cron' { export default class cron { static schedule(expr: string, fn: () => void): any; static validate(expr: string): boolean; } }
declare module 'js-yaml' { export function load(str: string): any; export function dump(obj: any, opts?: any): string; }
declare module 'neo4j-driver' { export function driver(uri: string, auth: any, config?: any): any; export const auth: { basic(username: string, password: string): any }; }
declare module 'node-fetch' { export default function fetch(url: string, options?: any): Promise<any>; }
declare module 'pdf-lib' {
export class PDFDocument {
static load(buffer: Buffer): Promise<PDFDocument>;
save(): Promise<Buffer>;
}
}