import type { RerankerFn } from './types.js';
/**
 * True if @xenova/transformers is importable. Note: this does NOT confirm
 * that the model is downloadable from Hugging Face CDN — in sandboxed
 * environments the package may import but the model fetch may be blocked.
 * The reranker silently falls back to identity ordering in that case.
 */
export declare function isCrossEncoderAvailable(): Promise<boolean>;
/**
 * Track 2 reranker: MS-MARCO MiniLM cross-encoder.
 * Loads model on first call, then sub-100ms per query for top-K=50 candidates
 * on a typical developer laptop CPU. Falls back to identity ordering if the
 * model fails to load (no transformers, no network for first download, etc.).
 *
 * See docs/plans/2026-05-10-f6-reranker-hardening.md Task 6.
 */
export declare const crossEncoderReranker: RerankerFn;
//# sourceMappingURL=cross-encoder.d.ts.map