import { AllSiteSettingsCached } from "@cocalc/util/db-schema/types"; export declare function escape_email_body(body: string, allow_urls: boolean): string; interface InviteOpts { to: string; subject: string; email: string; email_address: string; title: string; settings: AllSiteSettingsCached; allow_urls: boolean; link2proj?: string; replyto: string; replyto_name: string; cb: (err?: any, msg?: any) => void; } export declare function send_invite_email(opts: InviteOpts): void; export declare function is_banned(address: any): boolean; interface Opts { subject: string; body: string; fromname?: string; from?: string; to: string; replyto?: string; replyto_name?: string; cc?: string; bcc?: string; verbose?: boolean; category?: string; asm_group?: number; settings: AllSiteSettingsCached; url?: string; company_name?: string; cb?: (err?: any, msg?: any) => void; } export declare function send_email(opts: Opts): Promise; export declare function mass_email(opts: any): void; export declare function welcome_email(opts: any): void; export declare function email_verified_successfully(url: any): string; export declare function email_verification_problem(url: any, problem: any): string; export {};