import type { IMjmlStyleProps } from "@faire/mjml-react"; import type { Theme } from "../theme/themeTypes.js"; import type { css } from "../utils/css.js"; export type StylesPayload = ReturnType | ((theme: Theme) => ReturnType); type MjmlStyleOptions = Partial>; interface StyleRegistryEntry { styles: StylesPayload; mjmlStyleProps?: MjmlStyleOptions; } /** * Registers CSS styles that will be rendered in the email head as `` elements. * * Styles can be static CSS strings (via the `css` tagged template) or functions that * receive the theme and return a CSS string. */ export declare function registerStyles(styles: StylesPayload, mjmlStyleProps?: MjmlStyleOptions): void; /** Returns all registered style entries. */ export declare function getRegisteredStyles(): ReadonlyMap; export {};