import type { PropsWithChildren, ReactNode } from "react"; import { type Config } from "../../config/ConfigProvider.js"; import type { Theme } from "../../theme/themeTypes.js"; type MjmlMailRootProps = PropsWithChildren<{ /** * Theme to use for the email. * * @defaultValue `createTheme()` */ theme?: Theme; /** Extra content appended inside the built-in ``, after the default ``. */ attributes?: ReactNode; /** Extra content appended inside ``, after the registered styles block. */ head?: ReactNode; /** * Configuration to make available to descendants via `useConfig`. */ config?: Config; }>; /** * The root element for email templates. Renders the standard MJML email skeleton * (``, ``, ``) with `` as the * default attribute so all components start with zero padding. * * Accepts an optional `theme` prop that controls the body width and responsive breakpoints. The theme is made available to all descendant components via `useTheme()`. * * Accepts an optional `config` prop containing configuration. When provided, the value is made available to descendants via `useConfig()`. * * Direct children should be section-level components (e.g. `MjmlSection`). */ export declare function MjmlMailRoot({ theme: themeProp, attributes, head, config, children }: MjmlMailRootProps): ReactNode; export {};