/** Composite pipeline APIs (Rust-backed). */ import { PolicyContextNative } from "./native.js"; import type { ClassifyAndCountCatalogResult, JsonRecord, SkillNodeCatalogItem } from "./types.js"; type PolicyContext = InstanceType; export interface PruneBm25Options { scoreTool?: number; scoreToolEnum?: number; pruneEnums?: boolean; pipeline?: string[]; } export interface SearchSkillsOptions { threshold?: number; maxTokens?: number; frontmatterUpperLimit?: number; itemKind?: string; } export declare function pruneCatalogBm25AndRetrieve(catalogData: JsonRecord, buildCatalog: JsonRecord, catalogIndex: JsonRecord, query: string, scoringCtx: PolicyContext, outputCtx: PolicyContext, options?: PruneBm25Options): JsonRecord; export declare function recomposeAndRetrieveTools(data: JsonRecord, buildCatalog: JsonRecord, catalogIndex: JsonRecord, postRerank: JsonRecord | null | undefined, postRerankScored: JsonRecord | null | undefined, pinned: JsonRecord | null | undefined, pipeline: string[], scoringCtx: PolicyContext, outputCtx: PolicyContext): JsonRecord[]; export declare function classifyAndCountCatalog(catalogData: JsonRecord, tools?: JsonRecord[] | null): ClassifyAndCountCatalogResult; export declare function searchSkillsAndSelect(entries: JsonRecord[], query: string, options?: SearchSkillsOptions): JsonRecord; export declare function buildSkillNodeCatalog(entries: JsonRecord[]): SkillNodeCatalogItem[]; export interface CoordinateBm25Options { skills?: SearchSkillsOptions; tools?: PruneBm25Options; } export declare function coordinateBm25Prune(skillsEntries: JsonRecord[], catalogData: JsonRecord, buildCatalog: JsonRecord, catalogIndex: JsonRecord, query: string, scoringCtx: PolicyContext, outputCtx: PolicyContext, options?: CoordinateBm25Options): JsonRecord; export {}; //# sourceMappingURL=pipeline.d.ts.map