import { type IngestSkillOptions } from "./ingest.js"; import type { RegistrySkillVersion } from "./store.js"; export interface GitHubSourceSnapshot { readonly owner: string; readonly repo: string; readonly defaultBranch: string; readonly ref: string; readonly sha: string; readonly markdown: string; readonly profileDocument?: string; readonly fallbackProfileDocument?: string; readonly tag?: string; readonly indexedAt?: string; readonly publisherHandle?: string; readonly event: "enrollment" | "push" | "tag" | "tombstone"; readonly live?: boolean; readonly tombstoned?: boolean; } export interface ResolvedGitHubSource { readonly markdown: string; readonly profileDocument?: string; readonly profilePath?: "X.yaml" | ".runx/X.yaml"; readonly version: string; readonly ingestOptions: IngestSkillOptions; } export declare function resolveGitHubSource(snapshot: GitHubSourceSnapshot): ResolvedGitHubSource; export declare function buildGitHubRegistrySkillVersion(snapshot: GitHubSourceSnapshot): RegistrySkillVersion;