/** * 发送按钮默认色板:用 Ant Design token 的实色保证相对 colorBgContainer 的对比度, * 随亮色 / 暗色主题切换。半透明 token 先与 colorBgContainer 叠算再比对比度、再混合。 */ export interface SendButtonPaletteToken { colorPrimary: string; colorBgContainer: string; colorTextLightSolid: string; colorTextTertiary: string; colorFillTertiary: string; colorText?: string; } /** * 基于当前主题 token 生成默认可发送 / 未激活填充与图标色 */ export declare function getSendButtonPalette(token: SendButtonPaletteToken): { readonly backgroundActive: string; readonly backgroundMuted: string; readonly iconActive: string; readonly iconMuted: string; }; export type SendButtonResolvedColors = { backgroundActive: string; backgroundMuted: string; iconActive: string; iconMuted: string; }; /** * 合并默认色板与用户 `colors`;与原先 background/backgroundHover、icon/iconHover 语义一致 */ export declare function resolveSendButtonDisplayColors(basePalette: SendButtonResolvedColors, colors: { icon?: string; iconHover?: string; background?: string; backgroundHover?: string; } | undefined, token: SendButtonPaletteToken): SendButtonResolvedColors;