/** * Build-time whitelabel: name, logo, favicon only. * Brand packs are served at site root: {VITE_APP_ORIGIN}/brands/{id}/ * (not bundled per app — upload packs on each host / shared nginx). */ export type BrandId = 'tycho' | 'corpushub'; export type AppCode = 'admin' | 'auth' | 'cs-analyzer' | 'dictionary' | 'editor' | 'io' | 'lexicon' | 'parser' | 'psd-reindexer' | 'reserved' | 'search' | 'syntrees' | 'viewer'; export type BrandConfig = { id: BrandId; name: string; completeName: string; logo: string; documentTitle: string; /** Absolute URL prefix: https://host/brands/{id} */ faviconBase: string; socialMedia?: { youtube?: string; }; }; export declare function brandAssetBase(brandId: BrandId, originRaw: string | undefined): string; /** * Absolute platform logo URL: `{origin}/brands/{id}/logo.png`. * Use in shell pages that cannot take an AppCode (NotFound, etc.). */ export declare function resolveBrandLogo(options?: { brandId?: string; origin?: string; }): string; /** * Absolute short platform logo URL: `{origin}/brands/{id}/logo-short.png`. * Use in compact chrome (apps drawer tile, etc.). */ export declare function resolveBrandLogoShort(options?: { brandId?: string; origin?: string; }): string; /** * Resolve platform branding for a front-end app. * Pass `options` from Vite plugins (Node) where `import.meta.env` may be unavailable. */ export declare function createBrand(app: AppCode, options?: { brandId?: string; origin?: string; }): BrandConfig; /** Shared helper for tests / tooling. */ export declare function brandFromEnv(raw: string | undefined): BrandId;