import { listKeys } from './store'; import type { Domain, SupportInfo } from './types'; /** Does the index know about this feature at all? */ export declare function hasFeature(domain: Domain, key: string): boolean; /** * MDN documentation URL for a known feature: the explicit BCD `mdn_url` when * present, otherwise a deterministic best-effort URL. `null` if the feature is * not in the index. */ export declare function getMdnUrl(domain: Domain, key: string): string | null; /** Full normalized per-browser support map for a feature. */ export declare function getSupport(domain: Domain, key: string): Record | null; /** Normalized support for a single browser. Throws on an unknown browser key. */ export declare function getBrowserSupport(domain: Domain, key: string, browser: string): SupportInfo | null; /** * Minimum version that added the feature in a browser. Returns the version * string, or `null` when supported since forever / unsupported / unknown. * Throws on an unknown browser key. */ export declare function getMinVersion(domain: Domain, key: string, browser: string): string | null; /** * Whether a feature is supported in a browser, optionally gated on a target * version. Unknown features are treated as unsupported; an unknown browser key * throws (so a typo can never read as a silent pass). */ export declare function isSupported(domain: Domain, key: string, browser: string, version?: string): boolean; /** All indexed keys for a domain (handy for enumeration / autocomplete). */ export { listKeys };