/**
 * Drizzle ORM schema for CLEO telemetry.db (SQLite via node:sqlite + sqlite-proxy).
 *
 * Tables: telemetry_events, telemetry_schema_meta
 *
 * Stores anonymous, opt-in command telemetry for self-improvement analysis.
 * Tracks which commands run, how fast they are, and whether they succeed.
 * Telemetry is DISABLED by default; users must run `cleo diagnostics enable`.
 *
 * @task T624
 */
/**
 * One row per command invocation captured by the telemetry middleware.
 *
 * Fields are intentionally minimal — no params, no output, no user data.
 * Only the shape of what was invoked and its outcome are stored.
 */
export declare const telemetryEvents: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "telemetry_events";
    schema: undefined;
    columns: {
        id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_events";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: true;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        anonymousId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_events";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        domain: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_events";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        gateway: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_events";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        operation: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_events";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        command: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_events";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        exitCode: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_events";
            dataType: "number int53";
            data: number;
            driverParam: number;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        durationMs: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_events";
            dataType: "number int53";
            data: number;
            driverParam: number;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        errorCode: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_events";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        timestamp: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_events";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
    };
    dialect: "sqlite";
}>;
/**
 * Key-value store for schema version tracking.
 * Single row with key='schema_version' on first migration.
 */
export declare const telemetrySchemaMeta: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "telemetry_schema_meta";
    schema: undefined;
    columns: {
        key: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_schema_meta";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: true;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        value: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "telemetry_schema_meta";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
    };
    dialect: "sqlite";
}>;
//# sourceMappingURL=schema.d.ts.map