import type { SecuritySignature, SecurityStackId } from "./signature.js"; export interface SelectInput { stackId: SecurityStackId; changedPaths: string[]; diffKeywords: string[]; topK: number; /** Typically index.forStack(stackId). */ stackSignatures: SecuritySignature[]; /** Typically index.forStack("generic") — ALWAYS included in the result. */ genericFloor: SecuritySignature[]; } /** * Pure and total: ranks `stackSignatures` by score, caps at `topK`, then * ALWAYS concatenates `genericFloor` (deduped by `signatureId`) so the floor * is present even when it did not rank into the top-K on its own merit. */ export declare function selectSignatures(input: SelectInput): SecuritySignature[]; //# sourceMappingURL=selector.d.ts.map