import type { IAgentRuntime } from "../../../types/index.ts";
/**
 * Minimal Drizzle-compatible DB interface.
 * Uses a chainable query builder pattern matching drizzle-orm.
 */
export type DrizzleDB = Record<string, (...args: unknown[]) => any>;
/**
 * Get the Drizzle database instance from the runtime.
 * @throws if the database is unavailable.
 */
export declare function getDb(runtime: IAgentRuntime): DrizzleDB;
//# sourceMappingURL=db.d.ts.map