renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
6 lines (5 loc) • 515 B
TypeScript
import type { Preset, PresetConfig } from '../types';
export declare const Endpoint = "https://api.github.com/";
export declare function fetchJSONFile(repo: string, fileName: string, endpoint: string, tag?: string): Promise<Preset>;
export declare function getPresetFromEndpoint(repo: string, filePreset: string, presetPath?: string, endpoint?: string, tag?: string): Promise<Preset | undefined>;
export declare function getPreset({ repo, presetName, presetPath, tag, }: PresetConfig): Promise<Preset | undefined>;