import type { ApiGuidanceDiagnostic, ApiGuidanceEntry, ApiGuidanceMatcher, ApiGuidancePreflightResult, SourceSpan } from './types.js';
import type { ApiCompatibilityEntry } from '../api-compatibility/types.js';
export declare function diagnosticFromGuidanceEntry(entry: ApiGuidanceEntry, matcher: ApiGuidanceMatcher, offendingSymbol: string, span?: SourceSpan): ApiGuidanceDiagnostic;
export declare function diagnosticFromCompatibilityEntry(entry: ApiCompatibilityEntry, span?: SourceSpan): ApiGuidanceDiagnostic;
export declare function analyzeMogCode(code: string): ApiGuidanceDiagnostic[];
export declare function preflightMogCode(code: string): ApiGuidancePreflightResult;
