/** * Database Schema Module * * Contains all CREATE TABLE statements, FTS5 virtual tables, * triggers, and indexes for the security detections database. */ import type Database from 'better-sqlite3'; /** * Create all database tables, indexes, and triggers. * Called once during database initialization. */ export declare function createSchema(db: Database.Database): void; /** * Create the saved queries table for caching. * Called on-demand when first accessed. */ export declare function createSavedQueriesTable(db: Database.Database): void;