/**
 * A minimal CRUD store backed by a single JSON array file.
 * Items must have an `id: string` field for lookup / update / remove.
 *
 * JSON-backed stores expose this shape when they implement CRUD operations.
 */
export interface CrudStore<T extends {
    id: string;
}> {
    list(projectId: string): Promise<T[]>;
    get(projectId: string, id: string): Promise<T | undefined>;
    add(projectId: string, item: T): Promise<void>;
    update(projectId: string, id: string, updates: Partial<T>): Promise<void>;
    remove(projectId: string, id: string): Promise<void>;
}
//# sourceMappingURL=storage.d.ts.map