export interface SandboxConfigResult { /** The evaluated configuration, as plain JSON. Interpreted (default/config/namespace selection already applied in the child; Zod validation still to come) by `../../config.ts`'s `normalizeConfig`, in the parent, unchanged. */ config: unknown; /** esbuild bundling wall-clock time. */ bundleMs: number; /** Bundle size in bytes. */ bundleBytes: number; } /** * Evaluate `configPath` in a sandboxed child and return its configuration as * plain data. * * Throws — rather than degrading to an in-process import or to defaults — when * the config cannot be evaluated inside the boundary or cannot cross it as * JSON. Under `--sandbox` a config that "almost" loaded is not a safe thing to * proceed with, and quietly falling back would give away the property the flag * exists to provide. * * @param configPath - Absolute path to the project's `chant.config.ts`. * @param projectRoot - Directory the child is granted `--allow-fs-read` for * (the config's own project root, i.e. `findProjectConfig`'s `dir`). */ export declare function evaluateConfigSandboxed(configPath: string, projectRoot: string): Promise; //# sourceMappingURL=config-run.d.ts.map