/** The shape a Node resolve hook must return. */ export type SelfResolved = { url: string; format?: string | null; shortCircuit?: boolean; }; /** * Resolve `vigiles` / `vigiles/` against the CLI's OWN installation, * or `null` when this is not our specifier / we cannot serve it. * * `null` rather than a throw of its own: the caller is inside a `catch` and the * ORIGINAL resolution error is the accurate one to re-raise. An unknown subpath * (`vigiles/nope`) would otherwise surface as `ERR_PACKAGE_PATH_NOT_EXPORTED` * from our rescue, blaming the rescue for the author's typo. * * The root is read from the environment at CALL time, not at module load, so a * test can drive both branches in one process. */ export declare function resolveSelfSpecifier(specifier: string): SelfResolved | null; //# sourceMappingURL=self-resolve.d.mts.map