import type { Browser, FileOptions, SourceLocation, UnsupportedItem } from './types'; export interface Candidate { path: string; loc?: SourceLocation; } /** Collect API candidates from raw source content. */ export declare function collectFromContent(content: string, scanMode: 'fast' | 'accurate', namespaces: Set): Promise; /** Collect API candidates from a source file on disk. */ export declare function collectApiCandidates(filePath: string, scanMode: 'fast' | 'accurate', namespaces: Set): Promise; /** Evaluate already-collected candidates against one browser/version. */ export declare function evaluateApiCandidates(candidates: Candidate[], browser: Browser, version: string | undefined, namespaces: Set, file?: string): UnsupportedItem[]; export declare function getUnsupportedAPIsFromFile(filePath: string, options: FileOptions | string): Promise;