UNPKG

n8n-nodes-mtai-zalo-test-trial

Version:

Các node hỗ trợ Zalo cho n8n

35 lines (34 loc) 2 kB
declare function getAllNetworkInterfaces(): string[]; declare function getLocalIPAddress(): string; declare function testUrlAccessibility(url: string): Promise<boolean>; declare function createFileServer(): Promise<number>; declare function stopFileServer(): void; export declare function useGoogleTTSImproved(text: string, lang: string, outputPath: string): Promise<boolean>; export declare function tryMultipleTTSServices(text: string, lang: string, outputPath: string): Promise<boolean>; export declare function textToSpeech(text: string, lang: string): Promise<{ filePath: string; networkUrl: string; } | null>; export declare function textToSpeechWithOptions(text: string, lang?: string, useExternalHost?: boolean): Promise<{ filePath: string; networkUrl: string; } | null>; export declare function removeVoice(voicePath: string, delay?: number): void; export declare function cleanupOldAudioFiles(): void; export declare function validateAudioFile(filePath: string): boolean; export declare function getPublicIP(): Promise<string | null>; export declare function checkPortAccessibility(port: number): Promise<boolean>; export { createFileServer, stopFileServer, getLocalIPAddress, getAllNetworkInterfaces, testUrlAccessibility }; export declare function saveImage(url: string): Promise<string | null>; export declare function removeImage(imgPath: string): void; export declare function saveVideo(url: string): Promise<string | null>; export declare function removeVideo(videoPath: string): void; export declare function getVideoType(url: string): 'youtube' | 'tiktok' | 'facebook' | 'direct' | 'unknown'; export declare function downloadVideoFromPlatform(url: string): Promise<string | null>; export declare function generateThumbnail(videoPath: string): Promise<string | null>; export declare function getVideoInfo(videoPath: string): Promise<{ duration: number; width: number; height: number; } | null>; export declare function getFileNameFromUrl(url: string): string;