renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
7 lines (6 loc) • 565 B
TypeScript
import type { Nullish } from '../../../types';
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<Nullish<Preset>>;
export declare function getPresetFromEndpoint(repo: string, filePreset: string, presetPath?: string, endpoint?: string, tag?: string): Promise<Nullish<Preset>>;
export declare function getPreset({ repo, presetName, presetPath, tag, }: PresetConfig): Promise<Nullish<Preset>>;