import { Task } from "../types"; /** * Task storage interface (spec-aligned) */ export interface TaskStore { /** * Save or overwrite a task. * @param task The task to store. * @param ttlSeconds Optional: how long to keep the task in the cache (seconds). */ save(task: Task): Promise; /** * Load a task by id. Returns undefined if not found. */ load(taskId: string): Promise; } export declare class MomentoTaskStore implements TaskStore { private client; constructor(cacheName: string, apiKey: string); load(taskId: string): Promise; save(task: Task, ttlSeconds?: number): Promise; } //# sourceMappingURL=task_store.d.ts.map