/** * log10x_discover_join — auto-discover the join label between Log10x * pattern metrics and the customer metric backend via Jaccard similarity * on label value sets. * * This tool runs the Jaccard pass across every candidate label pair and * returns the best match above the 0.7 floor, plus runner-ups above 0.5. * * Cached per-session per (environment, customer-backend-endpoint) so * the cross-pillar primitives (metrics_that_moved, rank_by_shape_similarity, * metric_overlay) can auto-call this once at the start of a session and * never re-probe. * * Agents should normally NOT need to call this tool directly — the * cross-pillar primitives run it internally via the session cache. * The explicit tool exists for power users who want to inspect the join * universe before correlating, or to force a re-discovery. * * Tier prerequisites: LOG10X_CUSTOMER_METRICS_URL configured. * This tool issues up to ~12 PromQL queries (6 Log10x-side label value * fetches + 6 customer-side). Results are cached per session. */ import { z } from 'zod'; import type { EnvConfig } from '../lib/environments.js'; import { type StructuredOutput } from '../lib/output-types.js'; export declare const discoverJoinSchema: { force_refresh: z.ZodDefault; minimum_jaccard: z.ZodDefault; candidate_labels: z.ZodOptional>; window: z.ZodOptional; timeRange: z.ZodOptional; environment: z.ZodOptional; customer_metrics_url: z.ZodOptional; customer_metrics_type: z.ZodOptional>; customer_metrics_auth: z.ZodOptional; }; export declare function executeDiscoverJoin(args: { force_refresh?: boolean; minimum_jaccard?: number; candidate_labels?: string[]; window?: string; timeRange?: string; environment?: string; customer_metrics_url?: string; customer_metrics_type?: string; customer_metrics_auth?: string; }, env: EnvConfig): Promise;