/** * GitHub Adapter * * Resolves "github:owner/name[@version]" shorthands against github.com. * * Authentication: * - SSH clone: uses default SSH agent * - HTTPS clone: reads token from GITHUB_TOKEN env or ~/.aiwg/credentials/github * * @implements #557 */ import { GitAdapter } from './git.js'; import type { PackageRef, PackageSource, FetchOptions } from '../types.js'; /** * GitHubAdapter * * Handles "github:owner/repo[@version]" shorthands. */ export declare class GitHubAdapter extends GitAdapter { readonly id: string; readonly name: string; /** * Matches "github:owner/repo" and "github:owner/repo@version" */ canResolve(ref: string): boolean; resolve(ref: PackageRef): Promise; fetch(source: PackageSource, options?: FetchOptions): Promise; } //# sourceMappingURL=github.d.ts.map