import type { LinkPreviewDeps } from "../link-preview/deps.js";
import type { CacheMode, TranscriptResolution } from "../link-preview/types.js";
import type { ProviderFetchOptions } from "./types.js";
interface ResolveTranscriptOptions {
    timeoutMs?: number;
    youtubeTranscriptMode?: ProviderFetchOptions["youtubeTranscriptMode"];
    mediaTranscriptMode?: ProviderFetchOptions["mediaTranscriptMode"];
    mediaKindHint?: ProviderFetchOptions["mediaKindHint"];
    transcriptTimestamps?: ProviderFetchOptions["transcriptTimestamps"];
    transcriptDiarization?: ProviderFetchOptions["transcriptDiarization"];
    transcriptVideoDownload?: ProviderFetchOptions["transcriptVideoDownload"];
    cacheMode?: CacheMode;
    fileMtime?: number | null;
    embeddedMediaUrl?: string | null;
}
export declare const resolveTranscriptForLink: (url: string, html: string | null, deps: LinkPreviewDeps, { timeoutMs, youtubeTranscriptMode, mediaTranscriptMode, mediaKindHint, transcriptTimestamps, transcriptDiarization, transcriptVideoDownload, cacheMode: providedCacheMode, fileMtime, embeddedMediaUrl, }?: ResolveTranscriptOptions) => Promise<TranscriptResolution>;
export {};
