import type { WatchEventType } from "./watch";
/**
 * Determine if a file change requires a full rebuild based on the file path
 *
 * Full rebuild is needed when:
 * - SUMMARY.md is changed (book structure changed)
 * - GLOSSARY.md is changed (glossary definitions changed)
 * - book.json or book.js is changed (configuration changed)
 *
 * @param filepath - The absolute path of the changed file
 * @returns true if full rebuild is needed, false for incremental build
 */
export declare function isStructureFile(filepath: string): boolean;
/**
 * Determine if a file change requires a full rebuild
 *
 * Full rebuild is needed when:
 * - Structure files are changed (SUMMARY.md, GLOSSARY.md, book.json, book.js)
 * - Files are added or removed (to update asset list and page structure)
 *
 * @param filepath - The absolute path of the changed file
 * @param eventType - The type of file change event
 * @returns true if full rebuild is needed, false for incremental build
 */
export declare function shouldFullRebuild(filepath: string, eventType?: WatchEventType): boolean;
//# sourceMappingURL=shouldFullRebuild.d.ts.map