/** * Dispatch to the hook named by `--hook=` in argv. Exported and guarded by * isMain below so importing this module (the published entry point) is a no-op: * only a direct `node plugin-hooks.mjs --hook=…` run consumes stdin and exits. * @returns {Promise} */ export function main(): Promise; /** The dispatchable hook names, in hooks.json's spelling. */ export const HOOK_MODES: readonly string[];