/**
 * SQLite store for telemetry.db via drizzle-orm/node-sqlite + node:sqlite.
 *
 * Stores opt-in command telemetry in ~/.local/share/cleo/telemetry.db.
 * Follows the same singleton + WAL + migration pattern as brain-sqlite.ts.
 * Telemetry is disabled by default — check isTelemetryEnabled() before writing.
 *
 * @task T624
 */
import type { NodeSQLiteDatabase } from 'drizzle-orm/node-sqlite';
import * as telemetrySchema from './schema.js';
/** Schema version. Single source of truth. */
export declare const TELEMETRY_SCHEMA_VERSION = "1.0.0";
/**
 * Get the absolute path to telemetry.db in the global CLEO home directory.
 * Linux: ~/.local/share/cleo/telemetry.db
 */
export declare function getTelemetryDbPath(): string;
/**
 * Resolve the drizzle-telemetry migrations folder.
 * Handles both src/ (dev via tsx) and dist/ (bundled) layouts.
 */
export declare function resolveTelemetryMigrationsFolder(): string;
/**
 * Reset the singleton (used in tests).
 */
export declare function resetTelemetryDbState(): void;
/**
 * Initialize telemetry.db (lazy singleton).
 * Creates the file and runs migrations on first call.
 */
export declare function getTelemetryDb(): Promise<NodeSQLiteDatabase<typeof telemetrySchema>>;
//# sourceMappingURL=sqlite.d.ts.map