import { DiscoveryError, type DiscoveryErrorType } from "../../errors.js"; /** * Classify one error raised while executing run-fallback project source (or * chant's own collect/resolve/encode step) inside the sandboxed child. * * @param file - The project source file being executed when `err` was * thrown, or `""` for an error not attributable to one specific file (e.g. * `collectEntities`/`resolveAttrRefs` over the whole batch). * @param fallbackType - The {@link DiscoveryErrorType} to use when `err` * isn't a permission denial — mirrors how `discover()` itself types a * plain import failure `"import"` vs. a collection/resolution failure * `"resolution"`. */ export declare function classifyChildError(file: string, err: unknown, fallbackType?: DiscoveryErrorType): DiscoveryError; //# sourceMappingURL=child-errors.d.ts.map