import { type PackageGraphSource, type PackageGraphSourceDigest } from "../schema.js"; export type GitHubSkillSourceFailureReason = "unsupported-source" | "source-commit-mismatch"; export type GitHubSkillSourceResult = { success: true; source: PackageGraphSource; sourceDigest: PackageGraphSourceDigest & { algorithm: "git-sha1"; }; } | { success: false; reason: GitHubSkillSourceFailureReason; }; /** Normalize the exact two-segment GitHub repository identity used by trust policy. */ export declare function normalizeGitHubRepository(repository: string): string | undefined; /** Parse the anchored approval form `owner/repo@`. */ export declare function parseGitHubSkillSource(source: string, commit: string): GitHubSkillSourceResult;