import { GitHubPluginVersion } from 'obsidian-utils';
import { Plugin } from '../services/config';
export declare const handleExceedRateLimitError: (error: unknown) => void;
export interface PluginRegistry {
    id: string;
    name: string;
    author: string;
    description: string;
    repo: string;
}
export declare const fetchPlugins: () => Promise<PluginRegistry[]>;
export declare const findPluginInRegistry: (name: string) => Promise<PluginRegistry | undefined>;
export declare const getPluginVersion: (plugin?: Plugin) => GitHubPluginVersion;
