UNPKG

@salla.sa/twilight-components

Version:
9 lines (8 loc) 520 B
import type { City, OptionType } from './interfaces'; export declare function log(message: string, data?: unknown): void; /** Fetch available cities for a product's delivery promises. */ export declare function fetchCities(productId: number, keyword?: string): Promise<{ cities: City[]; }>; /** Fetch the delivery promise message for a given city or branch. */ export declare function fetchDeliveryMessage(productId: number, id: number, optionType: OptionType, isLoginCycleEnabled: boolean): Promise<string | null>;