import type { Manifold } from '../pipework.js'; export declare function registerTsResolveHooks(): void; /** * Loads the Manifold for `cwd` (default `process.cwd()`). * * Normally the config is found by walking up from `cwd` for * `pipework.config.ts`. Setting `PIPEWORK_CONFIG` names the config file to * load instead — resolved against `process.cwd()` when relative, and a * ConfigError when it names a file that does not exist. Nothing in pipework * sets or defaults it; only a deliberate caller (a test runner pointing a * fork at a slim test-only manifold) gets the override. Discovery itself * leaves the variable alone; the test fork's `discoverForTestFork` consumes * it after loading, so it never travels to processes a test spawns. */ export declare function discoverInstance(cwd?: string): Promise; export declare function findConfig(from: string): string | null; //# sourceMappingURL=discover.d.ts.map