import type { RenovateConfig } from '../types';
export type Preset = RenovateConfig & Record<string, unknown>;
export type PresetConfig = {
    repo: string;
    presetPath?: string | undefined;
    presetName?: string;
    tag?: string | undefined;
};
export interface PresetApi {
    getPreset(config: PresetConfig): Promise<Preset | null | undefined> | Preset | null | undefined;
}
export interface ParsedPreset {
    presetSource: string;
    repo: string;
    presetPath?: string | undefined;
    presetName: string;
    tag?: string | undefined;
    params?: string[] | undefined;
}
export type PresetFetcher = (repo: string, fileName: string, endpoint: string, tag?: string) => Promise<Preset | null | undefined>;
export type FetchPresetConfig = {
    repo: string;
    filePreset: string;
    presetPath?: string | undefined;
    endpoint: string;
    tag?: string | undefined;
    fetch: PresetFetcher;
};
