/** * Elasticsearch / Kibana read-only dependency check. * * Important: dashboards, visualizations, lens objects and alerting rules * live in **Kibana**, not in Elasticsearch itself. The ES API key alone * cannot enumerate them. We need a Kibana endpoint: * * KIBANA_URL — required to enable in-process scan * KIBANA_API_KEY — optional override; falls back to ELASTIC_API_KEY * * Without KIBANA_URL we return a clean error so the caller falls back to * the documented bash command. * * Endpoints used (all GET, read-only): * /api/saved_objects/_find?type=dashboard * /api/saved_objects/_find?type=visualization * /api/saved_objects/_find?type=lens * /api/alerting/rules/_find (Kibana 7.16+) */ import { type DepCheckOptions, type DepCheckResult, type VendorInventory } from './types.js'; export declare function fetchElasticsearchInventory(): Promise; export declare function checkElasticsearchDeps(opts: DepCheckOptions): Promise;