/** * Git utility functions shared across scripts */ import type { ExecSyncOptions } from 'node:child_process'; export interface GitDeps { execSync: (command: string, options?: ExecSyncOptions) => Buffer | string; getEnv: (key: string) => string | undefined; warn?: (message: string) => void; } /** * Get GitHub repository URL for commit/tag links * * Priority: * 1. GITHUB_REPOSITORY environment variable (format: owner/repo) * 2. Git remote URL (extracted from git config) * * @param deps Dependencies for git operations * @returns Repository URL or empty string if not determinable */ export declare function getGitHubRepoUrl(deps: GitDeps): string;