import type { SelectModeSourceLocation } from "../../_vendor/schemas/generated/selectMode"; import type { SectionCanvasSection } from "../../_vendor/schemas/generated/selectModeIframeRpc"; type Resolve = (locations: readonly SelectModeSourceLocation[]) => Promise; /** * The DOM elements each page section renders, found from source, not layout: an element belongs to * a section when a JSX call site in its owner chain lies in the page file inside that section's lines. Walks down from a level at a time, symbolicating each level * in one request and stopping at the first element that matches, so a section's descendants are * never read. */ export declare function findSectionElements({ root, pageFilePath, sections, resolve, }: { root: Element; pageFilePath: string; sections: readonly Pick[]; resolve?: Resolve; }): Promise>; export {};