import { ChildNode } from "domhandler";

//#region src/transformers/msoPlaceholders.d.ts
/**
 * Resolve all `__MAIZZLE_MSO*__` placeholders inside MSO conditional comments
 * by reading inlined style + `data-*` markers on the paired elements.
 *
 * Two placeholder families:
 *
 * MSOW (`__MAIZZLE_MSOW_{id}__`) — emitted by `<Container>` and `<Section>`.
 *   Source element is marked with `data-maizzle-msow-id`. Reads inlined
 *   `max-width:` (falls back to `width:`) and normalizes to px. Falls
 *   back to `data-maizzle-msow-fallback` (default `600px`) when the
 *   value can't be parsed.
 *
 * MSOTDSTYLE (`__MAIZZLE_MSOTDSTYLE_{id}__`) — emitted by `<Container>` and
 *   `<Section>`'s MSO `<td>`. Source element is marked with
 *   `data-maizzle-mso-td-id`. Extracts from the inlined style:
 *     - `background-color` (always, when present) so Word paints the cell.
 *     - `padding*` (only when no horizontal border on the element, since
 *       Word drops div padding without a border and a copy would
 *       double-pad with one).
 *   Appends the `data-maizzle-mso-style` value (the user's `msoStyle`
 *   prop) last so it wins on duplicates. Empty input resolves to ''
 *   so the placeholder collapses cleanly.
 *
 * Single collect-walk + single substitute-walk: the same Container div
 * carries both marker kinds, so one element visit fills both maps.
 */
declare function msoPlaceholders(dom: ChildNode[]): ChildNode[];
//#endregion
export { msoPlaceholders };
//# sourceMappingURL=msoPlaceholders.d.ts.map