UNPKG

noirsight

Version:

Deepfake Detection & Content Analyser Wrapper

20 lines 818 B
import { ArticleResponse, PostResponse, WrapperError } from "./types"; export declare class NoirSight { apiKey: string; userId: string; baseUrl: string; constructor(apiKey: string, userId: string, baseUrl?: string); } export declare class DeepfakeVideoAnalyser extends NoirSight { constructor(apiKey: string, userId: string); analyseVideo(url: string): Promise<PostResponse | WrapperError>; } export declare class DeepfakeImageAnalyser extends NoirSight { constructor(apiKey: string, userId: string); analyseImage(url: string): Promise<PostResponse | WrapperError>; } export declare class ArticleAnalyser extends NoirSight { constructor(apiKey: string, userId: string); analyseArticle(text: string): Promise<ArticleResponse | WrapperError>; } //# sourceMappingURL=index.d.ts.map