import { Table } from "docx";
import type { Element } from "domhandler";
import { type ParsedCss } from "./css.js";
import type { StyleResolver } from "./style-resolver.js";
import type { BlockLayout, DocxBlock, FlexLayout } from "./types.js";
export declare function borderlessTableBorders(): {
top: {
style: "none";
size: number;
color: string;
};
bottom: {
style: "none";
size: number;
color: string;
};
left: {
style: "none";
size: number;
color: string;
};
right: {
style: "none";
size: number;
color: string;
};
insideHorizontal: {
style: "none";
size: number;
color: string;
};
insideVertical: {
style: "none";
size: number;
color: string;
};
};
export interface FlexItemContent {
layout: BlockLayout;
blocks: DocxBlock[];
/** Shrink-wrapped column width when flex items have no flex-grow. */
intrinsicWidthTwips?: number;
/**
* Estimated content height (twips) for text card-style items with block children —
* used as an AT_LEAST floor on the row so LibreOffice doesn't collapse/inflate tight
* cards (it sizes rows by natural font metrics). The row still grows past this to fit
* wrapping/nested content. For raster `
` / `