/** Stable short key for a repo URL. */ export declare function urlKey(url: string): string; /** Remember a PAT for a repository URL (overwrites any previous entry). */ export declare function rememberGitToken(url: string, token: string): void; /** * Transient git `-c` args carrying Authorization for this repo URL. * Returns [] for unknown URLs or ssh:// remotes (which use ambient keys). */ export declare function authArgsForUrl(url?: string | null): string[]; /** Raw stored PAT for a repo URL (null when unknown / ssh remote). */ export declare function tokenForUrl(url?: string | null): string | null; /** Best-effort origin URL of a local repo (null on failure). */ export declare function originUrlFor(repoPath: string): string | null; /** Convenience: auth args for whatever origin a local repo points at. */ export declare function authArgsForRepo(repoPath: string): string[];