/**
 * Spigot Source
 *
 * Fetches plugin information from SpigotMC using the Spiget API v2
 * API Docs: https://spiget.org/documentation
 */
import type { PluginInfo, SourceType } from '../types/index.js';
import { BasePluginSource } from './base.js';
/**
 * SpigotSource implementation using Spiget API
 */
export declare class SpigotSource extends BasePluginSource {
    readonly id = "spigot";
    readonly name = "SpigotMC";
    readonly type: SourceType;
    private static readonly API_BASE;
    /**
     * Get plugin info by resource ID
     */
    getPluginInfo(resourceId: string): Promise<PluginInfo | null>;
    /**
     * Search for plugins
     */
    searchPlugins(query: string, limit?: number): Promise<PluginInfo[]>;
    /**
     * Get latest version for a resource
     */
    getLatestVersion(resourceId: string): Promise<string | null>;
    /**
     * Build download URL for a resource
     */
    buildDownloadUrl(resourceId: string): string;
    /**
     * Check if source supports a Minecraft version
     */
    supportsMinecraftVersion(mcVersion: string): Promise<boolean>;
    /**
     * Parse Spiget resource response into PluginInfo
     */
    /**
     * Build SpigotMC resource page URL
     */
    private buildResourceUrl;
    /**
     * Parse Spiget resource response into PluginInfo
     */
    private parseResource;
}
//# sourceMappingURL=spigot.d.ts.map