/**
 * Drizzle ORM schema for CLEO brain.db (SQLite via node:sqlite + sqlite-proxy).
 *
 * Tables: brain_decisions, brain_patterns, brain_learnings, brain_memory_links, brain_schema_meta
 * Stores cognitive infrastructure: decisions, patterns, and learnings extracted
 * from CLEO task execution. Cross-references tasks in tasks.db via soft FKs.
 *
 * @epic T5149
 * @task T5127
 */
/**
 * Memory retention tiers for the tiered cognitive memory model (T549).
 *
 * - `short`  — Session-scoped working context. Volatile; auto-evicted after 48h if not promoted.
 * - `medium` — Project-scoped verified facts. Retained for weeks; decays if unverified.
 * - `long`   — Architectural bedrock. Permanent; supersession-only eviction.
 *
 * NULL semantics for legacy rows: treat NULL as 'medium' at query time.
 * (Legacy rows survived the T523 purge, so medium is a safe tier assumption.)
 */
export declare const BRAIN_MEMORY_TIERS: readonly ["short", "medium", "long"];
/** Discriminated union of all memory retention tiers. */
export type BrainMemoryTier = (typeof BRAIN_MEMORY_TIERS)[number];
/**
 * Cognitive type taxonomy for the tiered memory model (T549).
 *
 * Uses `BRAIN_COGNITIVE_TYPES` (not `BRAIN_MEMORY_TYPES`) to avoid collision
 * with the link table enum `BRAIN_MEMORY_TYPES` (which stores entity type names).
 *
 * - `semantic`   — Declarative facts: "what is true about this project"
 *                  → brain_decisions (always), brain_learnings (default)
 * - `episodic`   — Event records: "what happened and when"
 *                  → brain_observations (always), brain_learnings (transcript-derived)
 * - `procedural` — Process knowledge: "how to do things"
 *                  → brain_patterns (always)
 */
export declare const BRAIN_COGNITIVE_TYPES: readonly ["semantic", "episodic", "procedural"];
/** Discriminated union of all cognitive memory types. */
export type BrainCognitiveType = (typeof BRAIN_COGNITIVE_TYPES)[number];
/**
 * Source reliability levels for the tiered memory model (T549).
 *
 * Separate dimension from content `quality_score` — captures source trustworthiness.
 * Each level drives a quality multiplier applied at scoring time.
 *
 * | Level         | Meaning                                 | Quality multiplier |
 * |---------------|-----------------------------------------|--------------------|
 * | `owner`       | Owner explicitly stated this fact       | 1.0                |
 * | `task-outcome`| Verified by completed task with result  | 0.90               |
 * | `agent`       | Agent-inferred during work (default)    | 0.70               |
 * | `speculative` | Agent hypothesis, not yet corroborated  | 0.40               |
 */
export declare const BRAIN_SOURCE_CONFIDENCE: readonly ["owner", "task-outcome", "agent", "speculative"];
/** Discriminated union of all source confidence levels. */
export type BrainSourceConfidence = (typeof BRAIN_SOURCE_CONFIDENCE)[number];
/** Decision types from ADR-009. */
export declare const BRAIN_DECISION_TYPES: readonly ["architecture", "technical", "process", "strategic", "tactical"];
/** Confidence levels for decisions. */
export declare const BRAIN_CONFIDENCE_LEVELS: readonly ["low", "medium", "high"];
/** Outcome types for decision tracking. */
export declare const BRAIN_OUTCOME_TYPES: readonly ["success", "failure", "mixed", "pending"];
/** Pattern types for workflow analysis. */
export declare const BRAIN_PATTERN_TYPES: readonly ["workflow", "blocker", "success", "failure", "optimization"];
/** Impact levels for patterns. */
export declare const BRAIN_IMPACT_LEVELS: readonly ["low", "medium", "high"];
/** Link types for cross-referencing BRAIN entries with tasks. */
export declare const BRAIN_LINK_TYPES: readonly ["produced_by", "applies_to", "informed_by", "contradicts"];
/** Observation types for claude-mem compatible observations. */
export declare const BRAIN_OBSERVATION_TYPES: readonly ["discovery", "change", "feature", "bugfix", "decision", "refactor"];
/** Source types for observations (how the observation was created). */
export declare const BRAIN_OBSERVATION_SOURCE_TYPES: readonly ["agent", "session-debrief", "claude-mem", "manual"];
/** Memory entity types for the links table. */
export declare const BRAIN_MEMORY_TYPES: readonly ["decision", "pattern", "learning", "observation"];
/** Sticky note status values. */
export declare const BRAIN_STICKY_STATUSES: readonly ["active", "converted", "archived"];
/** Sticky note colors. */
export declare const BRAIN_STICKY_COLORS: readonly ["yellow", "blue", "green", "red", "purple"];
/** Sticky note priority levels. */
export declare const BRAIN_STICKY_PRIORITIES: readonly ["low", "medium", "high"];
export declare const brainDecisions: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_decisions";
    schema: undefined;
    columns: {
        id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        type: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            dataType: "string enum";
            data: "architecture" | "technical" | "process" | "strategic" | "tactical";
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["architecture", "technical", "process", "strategic", "tactical"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        decision: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        rationale: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        confidence: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            dataType: "string enum";
            data: "medium" | "low" | "high";
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["low", "medium", "high"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        outcome: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            dataType: "string enum";
            data: "success" | "failure" | "mixed" | "pending";
            driverParam: string;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["success", "failure", "mixed", "pending"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        alternativesJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        contextEpicId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        contextTaskId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        contextPhase: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        qualityScore: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            dataType: "number double";
            data: number;
            driverParam: number;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        memoryTier: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            dataType: "string enum";
            data: "short" | "medium" | "long";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["short", "medium", "long"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        memoryType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            dataType: "string enum";
            data: "semantic" | "episodic" | "procedural";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["semantic", "episodic", "procedural"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        verified: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            dataType: "boolean";
            data: boolean;
            driverParam: number;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        validAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        invalidAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
        sourceConfidence: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            dataType: "string enum";
            data: "owner" | "task-outcome" | "agent" | "speculative";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["owner", "task-outcome", "agent", "speculative"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        citationCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_decisions";
            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;
        }, {}>;
    };
    dialect: "sqlite";
}>;
export declare const brainPatterns: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_patterns";
    schema: undefined;
    columns: {
        id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
        type: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            dataType: "string enum";
            data: "success" | "failure" | "workflow" | "blocker" | "optimization";
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["workflow", "blocker", "success", "failure", "optimization"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        pattern: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
        context: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
        frequency: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
        successRate: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            dataType: "number double";
            data: number;
            driverParam: number;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        impact: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            dataType: "string enum";
            data: "medium" | "low" | "high";
            driverParam: string;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["low", "medium", "high"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        antiPattern: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
        mitigation: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
        examplesJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        extractedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
        updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
        qualityScore: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            dataType: "number double";
            data: number;
            driverParam: number;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        memoryTier: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            dataType: "string enum";
            data: "short" | "medium" | "long";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["short", "medium", "long"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        memoryType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            dataType: "string enum";
            data: "semantic" | "episodic" | "procedural";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["semantic", "episodic", "procedural"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        verified: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            dataType: "boolean";
            data: boolean;
            driverParam: number;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        validAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
        invalidAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
        sourceConfidence: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            dataType: "string enum";
            data: "owner" | "task-outcome" | "agent" | "speculative";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["owner", "task-outcome", "agent", "speculative"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        citationCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_patterns";
            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;
        }, {}>;
    };
    dialect: "sqlite";
}>;
export declare const brainLearnings: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_learnings";
    schema: undefined;
    columns: {
        id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            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;
        }, {}>;
        insight: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            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;
        }, {}>;
        source: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            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;
        }, {}>;
        confidence: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            dataType: "number double";
            data: number;
            driverParam: number;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        actionable: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            dataType: "boolean";
            data: boolean;
            driverParam: number;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        application: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            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;
        }, {}>;
        applicableTypesJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            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;
        }, {}>;
        createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            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;
        }, {}>;
        updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            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;
        }, {}>;
        qualityScore: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            dataType: "number double";
            data: number;
            driverParam: number;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        memoryTier: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            dataType: "string enum";
            data: "short" | "medium" | "long";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["short", "medium", "long"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        memoryType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            dataType: "string enum";
            data: "semantic" | "episodic" | "procedural";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["semantic", "episodic", "procedural"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        verified: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            dataType: "boolean";
            data: boolean;
            driverParam: number;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        validAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            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;
        }, {}>;
        invalidAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            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;
        }, {}>;
        sourceConfidence: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            dataType: "string enum";
            data: "owner" | "task-outcome" | "agent" | "speculative";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["owner", "task-outcome", "agent", "speculative"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        citationCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_learnings";
            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;
        }, {}>;
    };
    dialect: "sqlite";
}>;
/** General-purpose observations — replaces claude-mem's observations table. */
export declare const brainObservations: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_observations";
    schema: undefined;
    columns: {
        id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        type: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            dataType: "string enum";
            data: "discovery" | "change" | "feature" | "bugfix" | "decision" | "refactor";
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["discovery", "change", "feature", "bugfix", "decision", "refactor"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        title: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        subtitle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        narrative: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        factsJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        conceptsJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        project: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        filesReadJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        filesModifiedJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        sourceSessionId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        sourceType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            dataType: "string enum";
            data: "agent" | "session-debrief" | "claude-mem" | "manual";
            driverParam: string;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["agent", "session-debrief", "claude-mem", "manual"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        agent: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        contentHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        discoveryTokens: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            dataType: "number int53";
            data: number;
            driverParam: number;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        qualityScore: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            dataType: "number double";
            data: number;
            driverParam: number;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        memoryTier: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            dataType: "string enum";
            data: "short" | "medium" | "long";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["short", "medium", "long"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        memoryType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            dataType: "string enum";
            data: "semantic" | "episodic" | "procedural";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["semantic", "episodic", "procedural"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        verified: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            dataType: "boolean";
            data: boolean;
            driverParam: number;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        validAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        invalidAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
        sourceConfidence: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            dataType: "string enum";
            data: "owner" | "task-outcome" | "agent" | "speculative";
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["owner", "task-outcome", "agent", "speculative"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        citationCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_observations";
            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;
        }, {}>;
    };
    dialect: "sqlite";
}>;
/** Ephemeral sticky notes for quick capture before formal classification. */
export declare const brainStickyNotes: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_sticky_notes";
    schema: undefined;
    columns: {
        id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_sticky_notes";
            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;
        }, {}>;
        content: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_sticky_notes";
            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;
        }, {}>;
        createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_sticky_notes";
            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;
        }, {}>;
        updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_sticky_notes";
            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;
        }, {}>;
        tagsJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_sticky_notes";
            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;
        }, {}>;
        status: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_sticky_notes";
            dataType: "string enum";
            data: "active" | "converted" | "archived";
            driverParam: string;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["active", "converted", "archived"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        convertedToJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_sticky_notes";
            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;
        }, {}>;
        color: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_sticky_notes";
            dataType: "string enum";
            data: "yellow" | "blue" | "green" | "red" | "purple";
            driverParam: string;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["yellow", "blue", "green", "red", "purple"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        priority: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_sticky_notes";
            dataType: "string enum";
            data: "medium" | "low" | "high";
            driverParam: string;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["low", "medium", "high"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        sourceType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_sticky_notes";
            dataType: "string";
            data: string;
            driverParam: string;
            notNull: false;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: [string, ...string[]];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
    };
    dialect: "sqlite";
}>;
/** Cross-references between BRAIN entries and tasks in tasks.db. */
export declare const brainMemoryLinks: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_memory_links";
    schema: undefined;
    columns: {
        memoryType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_memory_links";
            dataType: "string enum";
            data: "decision" | "pattern" | "learning" | "observation";
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["decision", "pattern", "learning", "observation"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        memoryId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_memory_links";
            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;
        }, {}>;
        taskId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_memory_links";
            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;
        }, {}>;
        linkType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_memory_links";
            dataType: "string enum";
            data: "produced_by" | "applies_to" | "informed_by" | "contradicts";
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["produced_by", "applies_to", "informed_by", "contradicts"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_memory_links";
            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";
}>;
export declare const brainSchemaMeta: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_schema_meta";
    schema: undefined;
    columns: {
        key: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_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: "brain_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";
}>;
/**
 * Node types for the graph-native memory model.
 * Mirrors typed tables (decision, pattern, learning, observation, sticky),
 * adds task provenance (task, session, epic), codebase bridging (file, symbol),
 * and abstract/synthesized types (concept, summary).
 */
export declare const BRAIN_NODE_TYPES: readonly ["decision", "pattern", "learning", "observation", "sticky", "task", "session", "epic", "file", "symbol", "concept", "summary"];
/** Discriminated union of all supported brain graph node types. */
export type BrainNodeType = (typeof BRAIN_NODE_TYPES)[number];
/**
 * Edge types for the graph-native memory model.
 * Covers provenance/derivation, semantic relationships, structural links,
 * graph bridging between memory entities and codebase nodes, and plastic
 * Hebbian/STDP edges.
 */
export declare const BRAIN_EDGE_TYPES: readonly ["derived_from", "produced_by", "informed_by", "supports", "contradicts", "supersedes", "applies_to", "documents", "summarizes", "part_of", "references", "modified_by", "code_reference", "affects", "mentions", "co_retrieved"];
/** Discriminated union of all supported brain graph edge types. */
export type BrainEdgeType = (typeof BRAIN_EDGE_TYPES)[number];
/**
 * Graph nodes table — the traversable knowledge graph layer.
 *
 * Every entity row in a typed table (decisions, patterns, learnings,
 * observations) gets a corresponding node here. The typed table row is
 * the source of truth; the graph node is the index entry for traversal
 * and cross-entity reasoning.
 *
 * Node ID convention: '<type>:<source-id>'
 * Examples: 'decision:D-abc123', 'observation:O-mntphoj6-0',
 *           'task:T523', 'symbol:src/store/brain-schema.ts::brainPageNodes'
 */
export declare const brainPageNodes: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_page_nodes";
    schema: undefined;
    columns: {
        id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_nodes";
            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;
        }, {}>;
        nodeType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_nodes";
            dataType: "string enum";
            data: "symbol" | "file" | "decision" | "pattern" | "learning" | "observation" | "sticky" | "task" | "session" | "epic" | "concept" | "summary";
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["decision", "pattern", "learning", "observation", "sticky", "task", "session", "epic", "file", "symbol", "concept", "summary"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        label: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_nodes";
            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;
        }, {}>;
        qualityScore: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_nodes";
            dataType: "number double";
            data: number;
            driverParam: number;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        contentHash: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_nodes";
            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;
        }, {}>;
        lastActivityAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_nodes";
            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;
        }, {}>;
        metadataJson: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_nodes";
            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;
        }, {}>;
        createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_nodes";
            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;
        }, {}>;
        updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_nodes";
            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;
        }, {}>;
    };
    dialect: "sqlite";
}>;
/**
 * Graph edges table — directed, typed, weighted, provenance-aware links
 * between brain_page_nodes entries (or external nexus node IDs).
 *
 * The composite primary key (fromId, toId, edgeType) prevents duplicate
 * edges of the same type between the same pair of nodes.
 */
export declare const brainPageEdges: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_page_edges";
    schema: undefined;
    columns: {
        fromId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_edges";
            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;
        }, {}>;
        toId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_edges";
            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;
        }, {}>;
        edgeType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_edges";
            dataType: "string enum";
            data: "produced_by" | "applies_to" | "informed_by" | "contradicts" | "derived_from" | "supports" | "supersedes" | "documents" | "summarizes" | "part_of" | "references" | "modified_by" | "code_reference" | "affects" | "mentions" | "co_retrieved";
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["derived_from", "produced_by", "informed_by", "supports", "contradicts", "supersedes", "applies_to", "documents", "summarizes", "part_of", "references", "modified_by", "code_reference", "affects", "mentions", "co_retrieved"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        weight: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_edges";
            dataType: "number double";
            data: number;
            driverParam: number;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        provenance: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_edges";
            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;
        }, {}>;
        createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_page_edges";
            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";
}>;
/**
 * Retrieval log tracks which brain entries are returned together in search
 * results. This data drives:
 *   - Co-retrieval edge strengthening (consolidation step 6)
 *   - Memory quality instrumentation (retrieval frequency tracking)
 *   - Citation count validation (corroboration for tier promotion)
 *
 * Each row records one retrieval event: the query, which entries were returned,
 * and the retrieval source (find/fetch/hybrid).
 */
export declare const brainRetrievalLog: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_retrieval_log";
    schema: undefined;
    columns: {
        id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_retrieval_log";
            dataType: "number int53";
            data: number;
            driverParam: number;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: true;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        query: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_retrieval_log";
            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;
        }, {}>;
        entryIds: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_retrieval_log";
            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;
        }, {}>;
        entryCount: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_retrieval_log";
            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;
        }, {}>;
        source: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_retrieval_log";
            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;
        }, {}>;
        tokensUsed: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_retrieval_log";
            dataType: "number int53";
            data: number;
            driverParam: number;
            notNull: false;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        sessionId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_retrieval_log";
            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;
        }, {}>;
        createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_retrieval_log";
            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";
}>;
/**
 * Records every STDP weight-change event applied to a brain_page_edges row.
 *
 * Each row captures the causal pair (source_node, target_node), the signed
 * delta applied to the edge weight, whether it was a potentiation or
 * depression event, and which session and timestamp triggered it.
 *
 * @task T626
 * @epic T626
 */
export declare const brainPlasticityEvents: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
    name: "brain_plasticity_events";
    schema: undefined;
    columns: {
        id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_plasticity_events";
            dataType: "number int53";
            data: number;
            driverParam: number;
            notNull: true;
            hasDefault: true;
            isPrimaryKey: true;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        sourceNode: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_plasticity_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;
        }, {}>;
        targetNode: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_plasticity_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;
        }, {}>;
        deltaW: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_plasticity_events";
            dataType: "number double";
            data: number;
            driverParam: number;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: undefined;
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        kind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_plasticity_events";
            dataType: "string enum";
            data: "ltp" | "ltd";
            driverParam: string;
            notNull: true;
            hasDefault: false;
            isPrimaryKey: false;
            isAutoincrement: false;
            hasRuntimeDefault: false;
            enumValues: ["ltp", "ltd"];
            baseColumn: never;
            identity: undefined;
            generated: undefined;
        }, {}>;
        timestamp: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_plasticity_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;
        }, {}>;
        sessionId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
            name: string;
            tableName: "brain_plasticity_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;
        }, {}>;
    };
    dialect: "sqlite";
}>;
export type BrainRetrievalLogRow = typeof brainRetrievalLog.$inferSelect;
export type NewBrainRetrievalLogRow = typeof brainRetrievalLog.$inferInsert;
export type BrainDecisionRow = typeof brainDecisions.$inferSelect;
export type NewBrainDecisionRow = typeof brainDecisions.$inferInsert;
export type BrainPatternRow = typeof brainPatterns.$inferSelect;
export type NewBrainPatternRow = typeof brainPatterns.$inferInsert;
export type BrainLearningRow = typeof brainLearnings.$inferSelect;
export type NewBrainLearningRow = typeof brainLearnings.$inferInsert;
export type BrainObservationRow = typeof brainObservations.$inferSelect;
export type NewBrainObservationRow = typeof brainObservations.$inferInsert;
export type BrainMemoryLinkRow = typeof brainMemoryLinks.$inferSelect;
export type NewBrainMemoryLinkRow = typeof brainMemoryLinks.$inferInsert;
export type BrainPageNodeRow = typeof brainPageNodes.$inferSelect;
export type NewBrainPageNodeRow = typeof brainPageNodes.$inferInsert;
export type BrainPageEdgeRow = typeof brainPageEdges.$inferSelect;
export type NewBrainPageEdgeRow = typeof brainPageEdges.$inferInsert;
export type BrainStickyNoteRow = typeof brainStickyNotes.$inferSelect;
export type NewBrainStickyNoteRow = typeof brainStickyNotes.$inferInsert;
export type BrainPlasticityEventRow = typeof brainPlasticityEvents.$inferSelect;
export type NewBrainPlasticityEventRow = typeof brainPlasticityEvents.$inferInsert;
//# sourceMappingURL=brain-schema.d.ts.map