import { resolveTranscriptForLink } from "../../transcript/index.js";
import type { resolveTranscriptionConfig } from "../../transcript/transcription-config.js";
import type { LinkPreviewDeps } from "../deps.js";
import type { CacheMode } from "../types.js";
import type { ExtractedLinkContent, MediaTranscriptMode, YoutubeTranscriptMode } from "./types.js";
export declare function tryTranscriptOnlyStrategy({ url, deps, transcription, maxCharacters, youtubeTranscriptMode, mediaTranscriptMode, transcriptTimestamps, transcriptDiarization, transcriptVideoDownload, cacheMode, fileMtime, markdownRequested, }: {
    url: string;
    deps: LinkPreviewDeps;
    transcription: ReturnType<typeof resolveTranscriptionConfig>;
    maxCharacters: number | null;
    youtubeTranscriptMode: YoutubeTranscriptMode;
    mediaTranscriptMode: MediaTranscriptMode;
    transcriptTimestamps: boolean;
    transcriptDiarization: NonNullable<Parameters<typeof resolveTranscriptForLink>[3]>["transcriptDiarization"];
    transcriptVideoDownload: boolean;
    cacheMode: CacheMode;
    fileMtime: number | null;
    markdownRequested: boolean;
}): Promise<ExtractedLinkContent | null>;
