import type { HeaderMenuItem } from "../../organisms/Header/index.js"; import type { ChatContainerQa } from "./types.js"; /** * Normalizes ChatContainer `qa` prop: string maps to root only (backward compatible). * * @param qa - Raw `qa` from props: string (root only), full map, or undefined. * @returns Always a {@link ChatContainerQa} object (`{}`, `{root}`, or the given map). */ export declare function normalizeChatContainerQa(qa: string | ChatContainerQa | undefined): ChatContainerQa; /** * Resolves a single qa value: explicit key wins, then `prefix-suffix`, else undefined. * * @param qaMap - Normalized QA map (see {@link normalizeChatContainerQa}). * @param key - Which QA slot to resolve (`prefix` always yields undefined). * @param suffixForPrefix - Suffix appended when only `prefix` is set. * @returns Resolved `data-qa` string, or undefined when nothing applies. */ export declare function resolveChatContainerQa(qaMap: ChatContainerQa, key: keyof ChatContainerQa, suffixForPrefix: string): string | undefined; /** * Root `data-qa`: explicit `root`, else `prefix` when only prefix is set. * * @param qaMap - Normalized QA map. * @returns Value for the container root element, or undefined. */ export declare function resolveChatContainerRootQa(qaMap: ChatContainerQa): string | undefined; /** * Merges explicit menu item qa overrides with `${prefix}-header-menu-item-${id}` when `prefix` is set. */ export declare function resolveHeaderMenuItemQa(qaMap: ChatContainerQa, menuItems: HeaderMenuItem[] | undefined, overrides: Partial> | undefined): Partial> | undefined;