export declare const LUX_BRAND: { readonly lux: '#7000FF'; readonly zoo: '#6C5EFB'; readonly hanzo: '#EA580C'; readonly pars: '#1C3879'; readonly bootnode: '#3B82F6'; }; export declare const PARS_GOLD = "#C8A45C"; export type LuxBrand = keyof typeof LUX_BRAND; export type Org = LuxBrand; export interface OrgIdentity { /** Org id — also the gui child-theme suffix (`dark_lux`, `dark_zoo`, …). */ readonly org: Org; /** Display name for chrome (header, title, sign-in copy). */ readonly name: string; /** Canonical apex domain. */ readonly domain: string; /** IAM/OIDC host. The issuer is `https://` + this. */ readonly iamDomain: string; /** Brand accent hex — the same value the gui child-theme row is built from. */ readonly accent: string; /** Foreground used on top of the accent. */ readonly accentForeground: string; } declare const ORGS: Readonly>; export declare const DEFAULT_ORG: Org; export interface WhiteLabel extends OrgIdentity { /** Hostname the identity was resolved from, port stripped, lowercased. */ readonly host: string; /** App slug taken from the hostname — `mpc.lux.cloud` → `mpc`. */ readonly app: string; /** gui child-theme row to hand GuiProvider — `dark_lux`, `dark_zoo`, … */ readonly theme: string; /** OIDC issuer — `https://lux.id`. */ readonly issuer: string; /** IAM client id, `-` per the fleet naming scheme — `lux-mpc`. */ readonly clientId: string; } /** * Resolve the full white-label identity from a Host header value. * * Pure and total: an unknown or missing host falls back to the Lux row rather * than throwing, so a preview URL or a health probe never blanks the UI. * * resolveWhiteLabel('mpc.lux.network') // org lux, clientId lux-mpc, issuer https://lux.id * resolveWhiteLabel('zoo.cloud') // org zoo, clientId zoo-cloud, issuer https://zoolabs.id * resolveWhiteLabel('cloud.pars.network') // org pars, clientId pars-app, issuer https://pars.id */ export declare function resolveWhiteLabel(host?: string | null): WhiteLabel; /** * The current host in a browser, or '' during SSR / prerender. * Server code must pass `req.headers.host` to resolveWhiteLabel explicitly — * there is no ambient request here, and guessing would bake in a brand. */ export declare function currentHost(): string; /** Identity for the org id itself, for the rare surface that is not host-routed. */ export declare function orgIdentity(org: Org): OrgIdentity; export { ORGS as orgs }; //# sourceMappingURL=white-label.d.ts.map