export function resolveUrlFlowYtDlpPath({ urlFetch, ytDlpPath, allowGuardedExternalDownloader = false, }) {
    // External downloaders cannot share the daemon URL guard's DNS pinning or redirect checks.
    // Callers may opt in only after resolving the media source to a bounded,
    // trusted downloader target such as a canonical YouTube video URL.
    return urlFetch && !allowGuardedExternalDownloader ? null : ytDlpPath;
}
//# sourceMappingURL=external-media.js.map