/** * Read-only MCP tools for the forgejo lexicon. * * The forgejo counterpart to the github/gitlab context tools (#327): expose * what `chant build` already computes about a Forgejo workflow — its triggers * and jobs, what it pulls in from outside, its findings, where each job came * from in source — plus `forgejo:compare`, the migration safety view. Because * Forgejo emits GitHub-style YAML, the parsing reuses the github lexicon's * yaml-helpers. * * Every tool builds from source and returns data. None touch a live forge, * read run history, or write anything. */ import type { McpToolContribution } from "@intentius/chant/mcp/types"; /** Is a `uses:` ref pinned to a full commit SHA (the only immutable form)? */ export declare function actionPinned(ref: string): boolean; /** The YAML job name a build entity serializes to (camelCase → kebab-case). */ export declare function jobNameOf(entityName: string): string; /** Jobs that would re-run because they depend (transitively) on `job`. */ export declare function downstreamJobs(yaml: string, job: string): string[]; /** The read-only context tools for the forgejo lexicon. */ export declare function forgejoContextTools(): McpToolContribution[]; //# sourceMappingURL=context-tools.d.ts.map