/**
 * Canonical GitHub repository reference resolved from commitment content.
 *
 * @private internal utility of USE PROJECT commitment
 */
export type GitHubRepositoryReference = {
    owner: string;
    repository: string;
    slug: string;
    url: string;
    defaultBranch?: string;
};
/**
 * Parsed `USE PROJECT` payload.
 *
 * @private internal utility of USE PROJECT commitment
 */
export type ParsedUseProjectCommitmentContent = {
    repository: GitHubRepositoryReference | null;
    repositoryReferenceRaw: string | null;
    instructions: string;
};
/**
 * Parses a repository reference into canonical owner/repository details.
 *
 * Supported input forms:
 * - `https://github.com/owner/repository`
 * - `github.com/owner/repository`
 * - `owner/repository`
 * - optional `.git` suffix and trailing slash are supported
 *
 * @private internal utility of USE PROJECT commitment
 */
export declare function parseGitHubRepositoryReference(rawReference: string): GitHubRepositoryReference | null;
/**
 * Parses `USE PROJECT` commitment content into repository reference + optional instructions.
 *
 * @private internal utility of USE PROJECT commitment
 */
export declare function parseUseProjectCommitmentContent(content: string): ParsedUseProjectCommitmentContent;
/**
 * Extracts canonical repository URLs from parsed commitments.
 *
 * @private internal utility of USE PROJECT commitment
 */
export declare function extractUseProjectRepositoryUrlsFromCommitments(commitments: ReadonlyArray<{
    type: string;
    content: string;
}>): string[];
