import { Biasing, Sort } from 'groupby-api'; import Store from '../store'; declare namespace PastPurchasesAdapter { const buildUrl: (customerId: string, endpoint: string) => string; const pastPurchaseBiasing: (state: Store.State) => { bringToTop: any[]; augmentBiases: boolean; influence: number; biases: { name: string; content: string; strength: import("groupby-api").BiasStrength; }[]; }; const pastPurchaseProducts: (products: Store.ProductWithMetadata[]) => {}; const sortSkus: (skus: Store.PastPurchases.PastPurchaseProduct[], field: "quantity" | "lastPurchased") => Store.PastPurchases.PastPurchaseProduct[]; const sortSkusByField: (skus: Store.PastPurchases.PastPurchaseProduct[], field?: string) => Store.PastPurchases.PastPurchaseProduct[]; const biasSkus: (state: Store.State) => { biasing: Biasing; sort: Sort[]; }; } export default PastPurchasesAdapter;