import type { Skill } from "./skills.js"; /** Resolve only explicitly opted-in projects; never run Git for discovery or home skills. */ export declare function refreshProjectDir(entries: readonly string[], dir: string, base: string): string | undefined; /** Record what authorized a webhook without saving credentials or any request material. */ export declare function webhookPolicy(skill: Skill): string; /** A concurrent dispatch can share the fetch already in flight for this checkout. */ export declare function refreshProject(dir: string): Promise; /** Check immediately before spawning, after account probes and any retry delay. */ export declare function assertProjectCommit(dir: string, expected: string): void; /** The SHA only identifies files actually supplied by the refreshed Git tree. */ export declare function assertProjectDefinition(dir: string, commit: string, projectFile: string, skillFile: string): void;