import type { Problem } from "./problems.js";
import { MediaType } from "./constants.js";
import { Caps } from "./indexers.js";
import { Result } from "./Result.js";
import { IdSearchParams } from "./torznab.js";
export interface ExternalIds {
    imdbId?: string;
    tmdbId?: string;
    tvdbId?: string;
    tvMazeId?: string;
}
export declare function arrIdsEqual(a: ExternalIds | undefined, b: ExternalIds | undefined): boolean;
interface ParsedMovie {
    movie: ExternalIds;
    series: undefined;
    episodes: undefined;
}
interface ParsedSeries {
    movie: undefined;
    series: ExternalIds;
    episodes: {
        seasonNumber: number;
        episodeNumber: number;
    }[];
}
export type ParsedMedia = ParsedMovie | ParsedSeries;
export declare function formatFoundIds(foundIds: ExternalIds): string;
export declare function scanAllArrsForMedia(searcheeTitle: string, mediaType: MediaType): Promise<Result<ParsedMedia, boolean>>;
export declare function getRelevantArrIds(caps: Caps, parsedMedia: ParsedMedia): IdSearchParams;
export declare function collectArrProblems(): Promise<Problem[]>;
export {};
