donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
15 lines • 624 B
TypeScript
import { GptConfig } from '../models/GptConfig';
import { GptConfigsPersistence } from './GptConfigsPersistence';
/**
* A GPT configs "persistence" implementation that manages state using an
* in-memory map.
*/
export declare class GptConfigsPersistenceVolatile implements GptConfigsPersistence {
private readonly data;
constructor(data?: Map<string, GptConfig>);
set(name: string, config: GptConfig): Promise<void>;
get(name: string): Promise<GptConfig>;
getAll(): Promise<Map<string, GptConfig>>;
delete(name: string): Promise<void>;
}
//# sourceMappingURL=GptConfigsPersistenceVolatile.d.ts.map