export interface FlowSearchQuery { query: string; compartment?: string; /** Opaque caller correlation id. It is never sent to relic; the CLI only round-trips it. */ identity?: string; } export interface FlowCandidate { id: string; name: Record | null; compartment: string | null; unit: string | null; scores: { bm25: number | null; vector: number | null; fused: number; }; } export interface FlowSearchResult { restricted: boolean; source: { code: string; version: string; }; query: string; branches: { bm25: boolean; vector: boolean; }; total: number; flows: FlowCandidate[]; /** Opaque caller correlation id copied from the corresponding input query. */ identity?: string; } /** `--queries`: inline `a,b,c` (no compartment) or `@file` (JSON array of strings or {query, compartment?, identity?}). */ export declare function parseQueriesArg(arg: string): FlowSearchQuery[]; export declare function bindFlowSearchIdentity(result: FlowSearchResult, query: FlowSearchQuery): FlowSearchResult; export declare function runSearchFlows(source: string, version: string, queries: FlowSearchQuery[], limit: number): Promise; export declare function formatSearchFlows(results: FlowSearchResult[]): string; //# sourceMappingURL=searchFlows.d.ts.map