UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

15 lines 696 B
import type Database from 'better-sqlite3'; import { DonobuAgent } from '../../models/DonobuAgentType'; import type { AgentsPersistence } from './AgentsPersistence'; /** * A persistence implementation that stores agent-to-config mappings in SQLite. */ export declare class AgentsPersistenceSqlite implements AgentsPersistence { private readonly db; private constructor(); static create(db: Database.Database): Promise<AgentsPersistenceSqlite>; set(agent: DonobuAgent, gptConfigName: string | null): Promise<void>; get(agent: DonobuAgent): Promise<string | null>; getAll(): Promise<Map<DonobuAgent, string | null>>; } //# sourceMappingURL=AgentsPersistenceSqlite.d.ts.map