UNPKG

donobu

Version:

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

16 lines 865 B
import type Database from 'better-sqlite3'; import type { PaginatedResult } from '../../models/PaginatedResult'; import type { TestListItem } from '../../models/TestMetadata'; import { type TestMetadata, type TestsQuery } from '../../models/TestMetadata'; import type { TestsPersistence } from './TestsPersistence'; export declare class TestsPersistenceSqlite implements TestsPersistence { private readonly db; private constructor(); static create(db: Database.Database): Promise<TestsPersistenceSqlite>; createTest(testMetadata: TestMetadata): Promise<void>; updateTest(testMetadata: TestMetadata): Promise<void>; getTestById(testId: string): Promise<TestMetadata>; getTests(query: TestsQuery): Promise<PaginatedResult<TestListItem>>; deleteTest(testId: string): Promise<void>; } //# sourceMappingURL=TestsPersistenceSqlite.d.ts.map