@salla.sa/twilight-components
Version:
Salla Web Component
9 lines (8 loc) • 520 B
TypeScript
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>;