/** * Shared email preview overlay used by both Dashboard EmailsSection * and DebugPanel EmailsTab. * * Uses the neutral `ss-email-*` CSS classes from `components.css`. */ export interface EmailPreviewData { subject?: string | null; from?: string | null; to?: string | null; cc?: string | null; status?: string | null; mailer?: string | null; text?: string | null; } export interface EmailPreviewOverlayProps { /** Email metadata to display in the header. */ email: EmailPreviewData | null; /** The HTML string to render in the preview iframe, or `null`. */ previewHtml: string | null; /** Whether the preview HTML is still loading. */ isLoading?: boolean; /** Callback to close the preview overlay. */ onClose: () => void; /** Optional CSS class name for the root container (allows context-specific overrides). */ className?: string; } export declare function EmailPreviewOverlay({ email, previewHtml, isLoading, onClose, className, }: EmailPreviewOverlayProps): import("react/jsx-runtime").JSX.Element; export default EmailPreviewOverlay;