import type { TableData } from '../types.js'; /** * Detect repeated-sibling card/grid structures (div/flex pricing tiers, plan * cards, comparison columns) that carry no markup and emit them as * TableData — one table per grid, one row per card. * * The GATE is >=MIN_CARDS structurally-parallel siblings each with a card * shape; class tokens only rank candidates. This keeps single-product pages * and short feature lists from producing phantom tables. */ export declare function detectDivGridTables(html: string): TableData[]; export declare function detectDivGridTablesFromDoc(doc: Document): TableData[]; /** * Narrow markdown-oriented extraction to a div/flex-grid card region by * removing NON-card siblings around the grid container (sibling-removal up the * ancestor chain to — never subtree descent, so card internals are * preserved). Two-factor guarded: fires only when (1) a grid with a price * signal is detected AND (2) the grid is a substantial fraction of body text. * Returns the input unchanged on non-grid pages so markdown extraction of * ordinary articles is unaffected. */ export declare function narrowToGrid(html: string): string; //# sourceMappingURL=div-grid.d.ts.map