export declare class SpamService { private client; constructor(token: string); classify(request: ClassifyRequest): Promise; } export interface ClassifyRequest { email_body?: string; from?: string; html_body?: string; subject?: string; text_body?: string; to?: string; } export interface ClassifyResponse { details?: string[]; is_spam?: boolean; score?: number; }