import type { CrossPromoFormat, NetworkConfig, PromotionSelection, ResolvedPromo } from './types'; export interface BuildPromoUrlInput { baseUrl: string; hostSiteId: string; variant: string; slotId: string; medium: string; campaign: string; } /** Outbound URL with full UTM attribution; hosts that drop params keep the click-side event. */ export declare function buildPromoUrl(input: BuildPromoUrlInput): string; export declare function resolvePromo(config: NetworkConfig, selection: PromotionSelection, hostSiteId: string, slotId: string): ResolvedPromo | null; export interface ServerPromoInput { config: NetworkConfig; hostSiteId: string; slotId: string; format: CrossPromoFormat; locale: string; date?: Date; } export interface ServerPromoResult { promo: ResolvedPromo; markup: string; } /** Deterministic server-side resolve + markup for one slot (SSR / no-JS path). */ export declare function resolveServerPromo(input: ServerPromoInput): ServerPromoResult | null; /** * Single source of promo markup, shared by the Svelte SSR path and the custom * element. All config-sourced strings are HTML-escaped; only this builder may * produce promo markup. */ export declare function promoMarkup(promo: ResolvedPromo, format: CrossPromoFormat): string; //# sourceMappingURL=render.d.ts.map