import { DetailsRoute } from '../instant-search/sections'; import { CompareKind, ItemComparisonConfig } from './settings'; /** * `pages/api/plugins/compare.js`: the rows of the picked items, read through * the table's generated fetcher (the visitor row policy applies: only active * products), with the attributes the owner chose laid out as columns the * table can compare — a number where one can be better, text otherwise — and * each item's custom properties as its visitors see them (a product's from * its `metadata`, a bookable item's from its `properties`, the hidden ones * left out), which the runtime lays out as rows by the settings. */ export declare const COMPARE_ROUTE = "/api/plugins/compare"; export interface CompareRouteKind { kind: CompareKind; label: string; fetcherImport: string; route: DetailsRoute; attributes: string[]; activeColumn: string | null; } export declare const buildCompareRouteSource: (config: ItemComparisonConfig, kinds: CompareRouteKind[]) => string; //# sourceMappingURL=compare-route.d.ts.map