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