donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
15 lines • 662 B
TypeScript
import type { GptConfigInput } from '../../models/GptConfig';
import type { 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, GptConfigInput>);
set(name: string, config: GptConfigInput): Promise<void>;
get(name: string): Promise<GptConfigInput>;
getAll(): Promise<Map<string, GptConfigInput>>;
delete(name: string): Promise<void>;
}
//# sourceMappingURL=GptConfigsPersistenceVolatile.d.ts.map