/** * Database export orchestrator. * * Plugin-side counterpart to docs/v0.2-database-backup-design.md. The * exporter pulls data via the source plugin's HTTP route on the SignalK * server itself — no container exec or shared filesystems involved. * * Supports QuestDB and Grafana. InfluxDB is intentionally out of scope * (see design doc). */ import type { ExportResult } from './types.js'; export interface ExportOrchestratorOptions { /** Host-visible path to the SignalK config root. */ signalkConfigRoot: string; /** SignalK server base URL (loopback) — used to talk to source plugins. */ signalkBaseUrl: string; /** Optional debug logger. */ log?: (msg: string) => void; warn?: (msg: string) => void; enabled?: { questdb?: boolean; grafana?: boolean; signalkDatabase?: boolean; }; } /** * Run every supported exporter whose `detect()` returns true. Each * exporter writes its parquet files under * /plugin-config-data/signalk-backup/database-exports// * which is the staging area kopia will pick up on the next snapshot. * * Errors in one exporter are logged but don't abort the rest — partial * coverage is preferable to none. The returned array contains one * ExportResult per exporter that ran (regardless of success). */ export declare function runAllExports(opts: ExportOrchestratorOptions): Promise; export type { DatabaseExporter, ExportResult, TableExport } from './types.js'; export { GrafanaExporter } from './grafana.js'; export { QuestDBExporter } from './questdb.js'; export { SignalKDatabaseExporter } from './signalk-database.js'; //# sourceMappingURL=index.d.ts.map