export type HistoryMode = 'push' | 'replace';

/**
 * Single source of truth for browser-history behavior across all browse pages.
 * nav  = meaningful navigation (new entry; back-button undoes it):
 *        query-text commit, category change, deal-type change, near-you city change.
 * tweak = incremental refinement (rewrite in place; no new entry):
 *        price, sort, page, tag/discount toggle, radius(km), hours, view, live typing.
 */
export const HISTORY = { nav: 'push', tweak: 'replace' } as const satisfies Record<string, HistoryMode>;