import type { PageInfo, PagesSource } from "../types.js"; /** * Extract page information from a report file path. * Supports: * - PBIP/PBIR: reads definition/pages/pages.json and individual page.json files. * Resolves the report root from: * a) A `.Report` directory directly. * b) A `.pbip` file; looks for a sibling `.Report` directory. * c) A project root (any dir) containing exactly one `.Report` child. * If multiple `.Report` directories are found, ambiguity is reported. * - PBIX: best-effort selective extraction of Report/Layout from the ZIP. * * @param filePath - Absolute path to the .pbip directory, .pbix file, or project root. * @param signal - Optional abort signal. * @returns Pages and their source type. */ export declare function extractPagesFromPath(filePath: string, signal?: AbortSignal): Promise<{ pages: PageInfo[]; pagesSource: PagesSource; }>; //# sourceMappingURL=pages.d.ts.map