import { ComponentWithVersion } from "../component";
import { ComponentsStore } from "./store";
export declare class GitHubComponentsStore implements ComponentsStore {
    private baseUrl;
    private usePrereleases;
    private logger;
    private cachedReleases;
    constructor(repo?: string, usePrereleases?: boolean);
    getAll(): Promise<ComponentWithVersion[]>;
    download(name: string, version: string): Promise<{
        name: string;
        data: any;
        filename: string;
        actualVersion: string;
    }>;
    getInfo(): string;
    /**
     * Find a specific release by component name and version
     */
    private findComponent;
    /**
     * Get all releases without parsing them into components
     * Will filter out pre-releases if usePrereleases is false
     */
    private getAllReleases;
    /**
     * Extract the next page URL from the Link header
     * Link header format: <https://api.github.com/repos/owner/repo/releases?page=2>; rel="next", <https://api.github.com/repos/owner/repo/releases?page=5>; rel="last"
     */
    private getNextPageUrl;
    /** Parse GitHub release information into component metadata */
    private parseReleases;
}
//# sourceMappingURL=github.store.d.ts.map