/** * AILabel 组件级 ComponentToken。 * * 通过模块声明合并进 `AgenticComponentTokenMap`,使 `genStyleHooks('AILabel', ...)` * 的 token 参数自动具备这些类型。 */ declare module '../Hooks/useStyle' { interface AgenticComponentTokenMap { AILabel?: AILabelToken; } } export interface AILabelToken { /** * 标签 dot 默认描边色(偏冷的浅蓝半透明,与图标渐变呼应)。 * 当前 design token 体系无完全等价 token,集中维护于此。 */ aiLabelDotBorderColor: string; /** watermark 状态下 dot 的描边色 */ aiLabelWatermarkBorderColor: string; /** emphasis 状态下 dot 的背景渐变 */ aiLabelEmphasisBackground: string; /** emphasis 状态下 dot 的描边色 */ aiLabelEmphasisBorderColor: string; /** tooltip 打开时的高亮渐变 */ aiLabelTooltipBackground: string; } /** * AILabel 默认 prefixCls。 * * 也作为 `ConfigProvider.getPrefixCls(prefixCls)` 的入参,确保「样式注册」与「外部 * prefix 推导」共享同一字符串字面量,避免散落的 magic string 不一致。 */ export declare const prefixCls = "ai-label"; /** * AILabel 样式 hook。返回 `{ hashId }`。 * * @param customPrefixCls 实际拼接的类名前缀(通常为 * `ConfigProvider.getPrefixCls(prefixCls)` 的返回值,例如 `ant-ai-label`)。 * 未传时回退到 {@link prefixCls}。 */ export declare function useStyle(customPrefixCls?: string): { hashId: string; };