/** Edge SQLite provider detected in the project. */
export type EdgeDb = 'turso' | 'cloudflare-d1' | 'none';
/** Turso deployment mode (remote primary, embedded replica, or local dev). */
export type TursoMode = 'remote' | 'embedded-replica' | 'local';
/** Full detection result for edge SQLite signals. */
export interface EdgeDbDetectionResult {
    /** Which edge database provider is in use. */
    edgeDb: EdgeDb;
    /** Turso-specific mode (only present when edgeDb === "turso"). */
    tursoMode?: TursoMode;
    /** Whether Cloudflare D1 migrations are tracked in wrangler.toml. */
    hasD1Migrations?: boolean;
}
/** A single design_schema recommendation entry from the catalog. */
export interface EdgeDbSchemaRecommendation {
    provider: EdgeDb;
    when: string[];
    justification: string;
    avoidWhen: string[];
}
/** A create_spec criteria template for multi-tenant edge SQLite. */
export interface EdgeDbCriteriaTemplate {
    id: string;
    trigger: 'turso' | 'embedded-replica' | 'cloudflare-d1';
    criterion: string;
}
/** An audit anti-pattern entry for edge SQLite. */
export interface EdgeDbAntiPattern {
    id: string;
    name: string;
    signal: string;
    severity: 'error' | 'warning';
    message: string;
}
/** A generate_tests template entry for edge SQLite. */
export interface EdgeDbTestTemplate {
    id: string;
    trigger: 'cloudflare-d1' | 'turso';
    framework: string;
    setupSnippet: string;
    description: string;
}
/** Internal: package.json dependency maps used by the edge-db detector. */
export interface EdgeDbPackageDeps {
    deps: Record<string, string>;
    devDeps: Record<string, string>;
}
/** Shape of edge-db-catalog.json config file. */
export interface EdgeDbCatalog {
    schemaRecommendations: EdgeDbSchemaRecommendation[];
    criteriaTemplates: EdgeDbCriteriaTemplate[];
    antiPatterns: EdgeDbAntiPattern[];
    testTemplates: EdgeDbTestTemplate[];
}
//# sourceMappingURL=edge-db.d.ts.map