/**
 * Git-Pinned Plugin Marketplace
 *
 * Manages plugins pinned to specific Git commit SHAs for reproducible
 * and auditable plugin installations.
 */
export interface GitPinnedPlugin {
    name: string;
    repo: string;
    commitSha: string;
    installedAt: number;
    verified: boolean;
    commands?: string[];
    hooks?: unknown[];
    mcpServers?: string[];
}
export declare class GitPinnedMarketplace {
    private plugins;
    private configPath;
    constructor(configDir?: string);
    static getInstance(configDir?: string): GitPinnedMarketplace;
    static resetInstance(): void;
    private loadFromDisk;
    private saveToDisk;
    /**
     * Parse repo spec like "org/repo" or "org/repo@sha"
     */
    private parseRepoSpec;
    install(repoSpec: string): GitPinnedPlugin;
    uninstall(name: string): boolean;
    list(): GitPinnedPlugin[];
    verify(name: string): boolean;
    update(name: string): GitPinnedPlugin | null;
    getPlugin(name: string): GitPinnedPlugin | undefined;
    getTrustWarning(repo: string): string;
    isInstalled(name: string): boolean;
}
export declare function getGitPinnedMarketplace(configDir?: string): GitPinnedMarketplace;
export declare function resetGitPinnedMarketplace(): void;
