import { Restaurant, DeliveryArea, NearByRestaurant, CustomerRestaurant, CustomerRestaurantSetting, BankName } from './business.interface'; import { RestaurantSetting } from '~core/modules/restaurantSetting'; import { Tag } from '~backend/tag/tag.model'; import { Moment } from 'moment'; import { OperatingHours } from '~core/modules/profile'; import { DeliverySetting } from '~backend/public-setting/public-setting.interface'; export declare function withinValidTimeSlot(slots: ValidTimeSlot[], currentTime: Moment): boolean; export interface ValidTimeSlot { start: string; end: string; } export declare function buildAvailableTime(currentTime: Moment, operatingHours?: OperatingHours, day?: { min: number; max: number; }, time?: string[], custom?: OperatingHours): ValidTimeSlot[]; export declare function mergeOperatingHours(op1: OperatingHours, op2: OperatingHours): OperatingHours; export declare function canDiscover(restaurant: Restaurant): boolean; export declare function canPickup(restaurant: Restaurant): boolean; export declare function canDelivery(restaurant: Restaurant): boolean; export declare function deliveryResult(restaurant: Restaurant, position: { lat: number; lng: number; }): DeliveryArea | null; export declare function restaurantSetting(setting: RestaurantSetting): CustomerRestaurantSetting; export declare function customerRestaurant(restaurant: NearByRestaurant, tags: Tag[], dev: boolean, position?: { lat: number; lng: number; }, deliverySetting?: DeliverySetting): CustomerRestaurant; export declare function isHeartbeatExpired(heartbeat: Date | string): boolean; export declare function getBankRouting(bankName: BankName): string; export declare function getBankSwiftCode(bankName: BankName): string;