import { BaseModel } from "../BaseModel/BaseModel"; import type { GetEmailLogsProps, EmailLogsListResponse, EmailDetailResponse } from "./types"; declare class EmailLogsClient extends BaseModel { basePath: string; /** * Retrieves a (paginated) list of email logs matching the supplied filters. * All parameters are optional; omitting them returns the most recent logs. * * @param mailAgentKey - Filter by agent key. * @param requestId - Filter by email request ID. * @param dateFrom - Start of the date range. Accepts a `Date`, ISO string, or timestamp. * @param dateTo - End of the date range. Accepts a `Date`, ISO string, or timestamp. * @param from - Filter by sender address. * @param to - Filter by To recipient address. * @param cc - Filter by CC address. * @param bcc - Filter by BCC address. * @param recipient - Filter by any recipient (To / CC / BCC). * @param offset - Number of records to skip. * @param limit - Maximum number of records to return. * @param subject - Filter by subject text. * @param clientReference - Filter by client reference ID. * @param isHardBounced - Return only hard-bounced emails. * @param isSoftBounced - Return only soft-bounced emails. * @param isMailFailure - Return only process-failed emails. * @param isDelivered - Return only delivered emails. */ getAllEmailLogs(props?: GetEmailLogsProps): Promise; /** * Retrieves the full details of a specific email by its reference ID. * * @param emailReference - The unique reference ID of the email. */ getEmailDetails({ emailReference }: { emailReference: string; }): Promise; } export { EmailLogsClient };