import type { MetabolicDashboardConfig } from "./branding/types";
export declare const METABOLIC_IFRAME_CONFIG_QUERY_KEY = "mb_config";
export declare const METABOLIC_IFRAME_SET_CONFIG_MESSAGE: "metabolic:set-config";
export declare function encodeMetabolicIframeConfig(config: MetabolicDashboardConfig): string;
export declare function decodeMetabolicIframeConfig(encoded: string): MetabolicDashboardConfig | null;
export declare function readMetabolicIframeConfigFromSearchParams(params: URLSearchParams): MetabolicDashboardConfig | undefined;
export declare function metabolicIframeSrcWithConfig(baseSrc: string, config: MetabolicDashboardConfig): string;
export declare function readMetabolicEmbedStealthParams(params: URLSearchParams): {
    patientId: string | undefined;
    patientFullName: string | undefined;
};
export declare function metabolicIframeSrcAppendStealthParams(iframeSrc: string, stealth: {
    patientId?: string;
    patientFullName?: string;
}): string;
export declare function emitMetabolicDashboardLogout(): void;
export declare function isMetabolicEmbedPostMessageOriginAllowed(messageOrigin: string, allowedOrigins: readonly string[]): boolean;
export declare function postMetabolicIframeConfig(iframe: HTMLIFrameElement, config: MetabolicDashboardConfig, targetOrigin: string): void;
