/** * GitHub Provider Implementation * * Implements GitProvider interface for GitHub.com and GitHub Enterprise. * Handles repository validation, creation, and management via GitHub API. * * @module providers/github-provider */ import { BaseGitProvider, type PlatformConfig, type RepoValidationResult, type OwnerValidationResult, type CreateRepoOptions } from '../git-provider.js'; /** * GitHub Provider * * Implements Git operations for GitHub platform. */ export declare class GitHubProvider extends BaseGitProvider { constructor(config?: Partial); validateRepository(owner: string, repo: string, token?: string): Promise; validateOwner(owner: string, token?: string): Promise; /** * Create a new repository on GitHub */ createRepository(options: CreateRepoOptions, token: string): Promise; isOrganization(account: string, token?: string): Promise; /** * Get token creation URL */ getTokenUrl(): string; /** * Get required token scopes */ getRequiredScopes(isOrganization?: boolean): string[]; /** * Override getAuthHeaders for GitHub-specific auth */ protected getAuthHeaders(token: string): Record; } /** * Create a GitHub provider instance * * @param config - Optional platform configuration * @returns GitHub provider instance */ export declare function createGitHubProvider(config?: Partial): GitHubProvider; //# sourceMappingURL=github-provider.d.ts.map