export declare const SERVARR_TYPES: readonly ["radarr", "sonarr", "lidarr"];
export type ServarrType = typeof SERVARR_TYPES[number];
export interface ServarrServiceProfile {
    readonly type: ServarrType;
    readonly defaultPort: number;
    readonly apiVersion: "v1" | "v3";
    readonly libraryEndpoint: string;
    readonly searchEndpoint: string;
}
export declare const SERVARR_SERVICE_PROFILES: Record<ServarrType, ServarrServiceProfile>;
export interface ServarrInstance {
    readonly type: ServarrType;
    readonly name?: string;
    readonly baseUrl: string;
    readonly apiVersion: "v1" | "v3";
    readonly apiToken?: string;
    readonly apiTokenEnv?: string;
    readonly apiTokenFile?: string;
    readonly headers: Record<string, string>;
}
export interface ServarrConfig {
    readonly instances: ServarrInstance[];
}
export interface RedactedServarrInstance {
    readonly type: ServarrType;
    readonly name?: string;
    readonly baseUrl: string;
    readonly apiVersion: "v1" | "v3";
    readonly tokenSource: "inline" | "env" | "file" | "missing";
    readonly headers: string[];
}
export declare function parseServarrConfig(input: unknown): ServarrConfig;
export declare function normalizeServarrType(value: string): ServarrType;
export declare function redactServarrInstance(instance: ServarrInstance): RedactedServarrInstance;
