using System.Collections.Generic;
using System.Threading.Tasks;

namespace QuantEngine.Core.Interfaces
{
    public interface IPostgresqlHistoryStore
    {
        Task<int> AppendAsync(string domain, IDictionary<string, object?> payload);
        Task<IReadOnlyList<IDictionary<string, object?>>> SnapshotAsync(string domain, int limit = 500);
    }
}
