import { z } from "zod"; import type { McpTool } from "../tool.js"; import { searchRelated } from "./search-related.js"; declare const inputSchema: z.ZodObject<{ /** Free-text query. Hybrid semantic + keyword via Engram. */ query: z.ZodString; /** Optional project filter (project slug or alias). */ project: z.ZodOptional; /** * Optional content-type filter. Mirrors the search_related enum. * `meeting` and `decision` are useful for "what did we decide" flows; * `doc` / `code` for reference material. */ type: z.ZodOptional>; /** Optional source filter (github, confluence, jira, slack, etc.). */ source: z.ZodOptional>; /** ISO 8601 lower bound. */ since: z.ZodOptional; /** Result count. Default 10, cap 50. */ topK: z.ZodDefault; /** * Exclude rows whose sensitivity exceeds this level. Omit to return all * sensitivity levels (default behavior — no filter applied). * Ordering: public < internal < confidential < restricted. */ maxSensitivity: z.ZodOptional>; /** * Strict trust filter. When set, rows below this trust level are excluded. * Omit to use the default soft down-ranking behavior where `experimental` * and `external` rows remain visible but rank slightly lower than * `approved` rows. Ordering: external < experimental < approved. */ minTrust: z.ZodOptional>; }, "strip", z.ZodTypeAny, { query: string; topK: number; project?: string | undefined; type?: "brief" | "code" | "meeting" | "decision" | "action_item" | "doc" | "note" | "digest" | "conversation" | "commit" | "event" | "reference" | "session_handoff" | undefined; source?: "manual" | "loom" | "google_meet" | "confluence" | "notion" | "google_drive" | "jira" | "linear" | "bitbucket" | "github" | "calendar" | "slack" | "teams" | "email" | "obsidian" | undefined; maxSensitivity?: "public" | "internal" | "confidential" | "restricted" | undefined; minTrust?: "external" | "experimental" | "approved" | undefined; since?: string | undefined; }, { query: string; project?: string | undefined; type?: "brief" | "code" | "meeting" | "decision" | "action_item" | "doc" | "note" | "digest" | "conversation" | "commit" | "event" | "reference" | "session_handoff" | undefined; source?: "manual" | "loom" | "google_meet" | "confluence" | "notion" | "google_drive" | "jira" | "linear" | "bitbucket" | "github" | "calendar" | "slack" | "teams" | "email" | "obsidian" | undefined; maxSensitivity?: "public" | "internal" | "confidential" | "restricted" | undefined; minTrust?: "external" | "experimental" | "approved" | undefined; since?: string | undefined; topK?: number | undefined; }>; /** * Knowledge-base search. * * Phase 4 retrieval surface for the knowledge-engine repositioning. * Pyre's coordinator calls `kb_search` (org KB) alongside Engram's * `memory_search` (per-user memory) to compose two cognitive layers * cleanly. * * Implementation: thin wrapper around `search_related`. We preserve * `search_related` for back-compat with any existing consumer; new * clients should prefer `kb_search` for the clearer naming. */ export declare const kbSearch: McpTool extends Promise ? R : never>; export {}; //# sourceMappingURL=kb-search.d.ts.map