/** * The fields POST /search accepts, and a check that refuses any other. * * Unknown fields used to be dropped silently, so a caller who sent `limit` * (the field is `top_k`) got 100 results and no hint why. Rejecting them * makes a wrong guess visible on the first call. */ export declare const SEARCH_FIELDS: readonly ["query", "top_k", "module", "language", "chunk_type", "min_score", "min_score_diff", "include", "format", "ignore"]; /** An error message naming each unknown field, or undefined when all are known. */ export declare function unknownFieldsError(body: unknown): string | undefined;