import { Mailable, MailableVersionFactory, Personalization as SendgridPersonalization } from '@tellimer/mailable'; import { Response } from './response'; export declare type Person = string | PersonObj | (() => string | PersonObj); export declare type PersonObj = { name?: string; email: string; }; export declare type Personalization = PersonObj & Omit & { customArgs?: ((p: Personalization) => Record) | { [key: string]: string; }; }; declare type To = string | Personalization | Personalization[] | string[]; export declare function sendVersioned(versionFactory: MailableVersionFactory, to: To): Promise; export declare function send(mailable: Mailable | MailableVersionFactory, to: To): Promise; export {};