import type { EngineFormat } from './types';
/**
 * `typeHint` (the player's `format` attribute) always wins when it's one of
 * the known engine names — an explicit override for extensionless/signed
 * streaming URLs that can't be sniffed. Otherwise falls back to matching the
 * URL's extension (query string/hash stripped first), defaulting to `native`
 * for anything unrecognized (including no `src` at all). `webrtc` (a WHEP
 * endpoint URL) has no extension convention to sniff at all — it's only ever
 * reached via the explicit hint.
 */
export declare function detectFormat(src: string, typeHint?: string): EngineFormat;
