/** * Knex/SQLite connection factory and PRAGMA configuration. * * Extracted from DashboardStore to reduce initKnex line count * and keep the main store file focused on business logic. */ import type { Knex } from 'knex'; export declare const SQLITE_PRAGMAS: string[]; /** * Apply all SQLite PRAGMAs via db.raw() calls. * This is the fallback if afterCreate didn't work. */ export declare function applyPragmas(db: Knex): Promise; /** * Import knex and better-sqlite3 from the host app, then create * a standalone Knex connection to SQLite. */ export declare function createKnexConnection(dbFilePath: string): Promise;