import { z } from "zod"; import type { McpTool } from "../tool.js"; declare const inputSchema: z.ZodObject<{ /** Free-text query. Uses engram's hybrid semantic + keyword search. */ query: z.ZodString; /** Project slug filter — typically the project a PR or ticket belongs to. */ project: z.ZodOptional; /** * Content-type filter. Meeting/decision are useful for "what did we * decide about X last quarter" flows; doc for reference material. */ type: z.ZodOptional>; /** Source filter (github, confluence, slack, etc.). */ source: z.ZodOptional>; /** ISO 8601 lower bound — "things since the last release" etc. */ since: z.ZodOptional; /** Max results. Default 10, cap 50. */ limit: 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 soft down-ranking of `experimental` and `external` rows. * Ordering: external < experimental < approved. */ minTrust: z.ZodOptional>; }, "strip", z.ZodTypeAny, { limit: number; 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; }, { query: string; limit?: number | undefined; 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; }>; interface Output { query: string; count: number; results: Array<{ id: string; title?: string; snippet: string; score?: number; type?: string; source?: string; project?: string | string[]; source_url?: string; date?: string; people?: string[]; due_date?: string; urgency?: string; mentions_me?: boolean; }>; } /** * Semantic-first retrieval with convenient filters. Lighter than * summarize_recent or get_project_context — intended for "give me the * 10 most relevant past decisions about X so I can weigh in on * this PR" or "what did we say about auth migration last quarter" * flows. Claude should call this before committing to a * recommendation on anything the user shares (PR, ticket, draft). */ export declare const searchRelated: McpTool; export {}; //# sourceMappingURL=search-related.d.ts.map