@expofp/floorplan
Version:
Interactive floor plan library for expos and events
19 lines • 788 B
TypeScript
import type { Brand } from './brand';
interface EventTitleSource {
title: string;
subtitle: string;
}
/**
* The final, real title — event name (+ subtitle), known once `data.js` is
* loaded. Undefined when the event has neither (both default to `''`): the
* bare brand suffix would be the same for every such event, so the caller
* keeps the hostname-derived placeholder instead.
*/
export declare function formatEventTitle(source: EventTitleSource, brand: Brand): string | undefined;
/**
* Synchronous placeholder set before any network request completes.
* Hostname-derived, not a literal constant, so it's unique per event.
*/
export declare function formatPlaceholderTitle(hostname: string, brand: Brand): string;
export {};
//# sourceMappingURL=event-title.d.ts.map