import { Distance } from '../../../libs/types-location'; import { Address, Hour } from '../types/Store'; /** * * format hours into human readable string * * @param hours array of hour object that defined in storc2 * @param currentDate date that we want to know if open or not, default to currect date * @param format format type: "1", "2" or "3", default is "1" */ export declare function formatHours(hours: Hour[], currentDate?: Date, format?: string): string; /** * * @param distance Distance object that we want to format * @param format format type: "short" or "full", default is "short" */ export declare function formatDistance(distance: Distance, format?: string): string; /** * * format address into human readable string * * @param address address object that defined in storc2 */ export declare function formatAddress(address: Address): string; /** * scroll element to a position, for Web use Only * * @param element dom element * @param target number of position x * @param duration number of duration in ms */ export declare function animatedScrollTo(element: HTMLElement, target: number, duration: number): Promise;