UNPKG

histoire

Version:

A fast story book powered by Vite

19 lines • 719 B
/** Public URL inputs use trusted server configuration, never caller URLs. */ export interface PreviewUrlOptions { /** Actual listened UI origin or configured production public origin. */ origin: string; /** Browser deployment base. */ base: string; /** Actual UI router mode. */ routerMode: 'hash' | 'history'; /** Exact collected story identity. */ storyId: string; /** Exact scoped variant identity. */ variantId: string; } /** Return UI and sandbox addresses without credentials or browser readiness claims. */ export declare function createPreviewUrls(options: PreviewUrlOptions): { storyUrl: string; sandboxUrl: string; }; //# sourceMappingURL=preview-urls.d.ts.map