import { GithubSource, ProvidersManifest, ProviderModule, ProviderModuleManifest } from "../types/index.ts"; import { ResolvedProviderSource } from "../types/models/Manager.ts"; export interface GitHubRepoInfo { owner: string; repo: string; } export interface GitHubFetchOptions extends GitHubRepoInfo { branch: string; token?: string; /** Normalized root directory prefix (no leading slash, with trailing slash, or empty string) */ rootDir: string; } export declare namespace GithubService { function initializeProviders(source: GithubSource): Promise; function getManifest(source: GithubSource): Promise; function getModule([scheme, manifest]: [string, ProviderModuleManifest], source: GithubSource): Promise<{ module: ProviderModule | null; validations: { errors: [string, string[]][]; warnings: [string, string[]][]; }; }>; }