import { type PublicBrandingDto } from '@/services/api/adminApi';
export declare const BRANDING_REFRESH_EVENT = "smartstack:branding:refresh";
/**
 * Emit a global event to signal all `useBranding` consumers that branding has changed
 * and they should refetch (e.g. after an admin uploads a new logo).
 */
export declare function notifyBrandingChanged(): void;
/**
 * Hook that exposes the active branding (logo, favicon, display name).
 *
 * For authenticated users, the active theme can override the platform/tenant
 * logos — that resolution happens server-side in `EffectiveUiConfigService` and
 * is exposed via `ThemeContext.effectiveUiConfig`. We prefer that source when
 * available so the theme override is visible immediately without an extra fetch.
 *
 * For anonymous pages (login, public branding), we fall back to the public
 * endpoint (cached in localStorage for fast initial render).
 *
 * Pass `tenantSlug` to resolve tenant-specific branding for anonymous pages.
 * Automatically refreshes when `notifyBrandingChanged()` is called.
 */
export declare function useBranding(tenantSlug?: string): {
    branding: PublicBrandingDto;
    isLoading: boolean;
    refresh: () => Promise<void>;
};
//# sourceMappingURL=useBranding.d.ts.map