import type { ToolDefinition } from "@opencode-ai/plugin"; import type { PluginContext } from "../types.js"; /** * Brace-aware comma split. Allows users to type either of: * * - "*.ts,*.tsx" (multiple OpenCode-style includes) * - "**\/*.{vue,ts,tsx}" (a single glob with a brace alternation) * - "*.ts,**\/*.{vue,tsx}" (mix of both) * * Without brace awareness the naive `String#split(",")` chops the brace * group apart and the resulting `**\/*.{vue` glob fails parsing in * ripgrep / globset with `unclosed alternate group; missing '}'`. */ export declare function splitIncludeArg(raw: string): string[]; /** * Tool definitions for indexed search-backed grep and glob. */ export declare function searchTools(ctx: PluginContext): Record; //# sourceMappingURL=search.d.ts.map