/** What a named mechanism turned out to be. */
export type MechanismVerdict = 
/** The named path exists — the documented guarantee is backed. */
"present"
/** The named path provably does not exist — this is what B6 stands on. */
 | "missing"
/** Not a checkable in-repository path, so it establishes nothing. */
 | "unmappable";
/** Decides whether a repository path is ignored/generated. */
export type IgnoreMatcher = (relativePath: string) => boolean;
/**
 * Whether an inline-code span is even shaped like an in-repository path.
 *
 * Every exclusion is a false-positive guard: a URL is not a repo path, a glob
 * names a set rather than a file, an `@` marks a scoped package or a versioned
 * action reference rather than a path, and a placeholder names nothing.
 * @param token - The inline-code text
 * @returns True when the token is shaped like a repository path
 */
export declare function isMechanismPath(token: string): boolean;
/**
 * Build the ignore matcher for a repository from its `.gitignore` plus the
 * always-generated defaults. The matcher is deliberately coarse — it compares
 * path segments and directory prefixes rather than implementing gitignore's full
 * grammar — because its only job is to move a doubtful path OUT of the violation
 * set, where being over-inclusive is the safe direction.
 * @param root - Repository root
 * @returns A matcher that answers "is this path generated or ignored?"
 */
export declare function loadIgnoreMatcher(root: string): Promise<IgnoreMatcher>;
/**
 * Classify one named mechanism.
 *
 * A token only becomes checkable when the repository itself vouches for the
 * shape: it carries a known file extension, it lives under a dot-directory the
 * repository conventionally keeps machinery in, or its first segment is a real
 * directory in this repository. `acme/release-gate` in a repository with no
 * `acme/` directory is an `org/repo` slug as far as anything here can tell, so
 * it is unmappable — not missing.
 * @param root - Repository root
 * @param token - The named mechanism path
 * @param isIgnored - The repository's ignore matcher
 * @returns What the mechanism turned out to be
 */
export declare function classifyMechanism(root: string, token: string, isIgnored: IgnoreMatcher): Promise<MechanismVerdict>;
//# sourceMappingURL=doctor-readiness-context-mechanisms.d.ts.map