import type { DriverFactory, EmailMessage } from "../types.mjs"; /** Options for the `mock` driver — a drop-in replacement used in tests that * records every sent message instead of hitting the network. */ export interface MockDriverOptions { /** When true, drivers simulate a rejection on every send — useful for * exercising `onError` middleware. */ fail?: boolean; /** Inspect or mutate the captured inbox. Exposed via `driver.inbox` too. */ inbox?: EmailMessage[]; } /** Driver with an injected `inbox` you can assert against. Also returned as * `driver.getInstance()`. */ declare const mock: DriverFactory; export default mock;