UNPKG

ovm

Version:

Obsidian Vaults Manager

14 lines (13 loc) 554 B
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;