///
import type { CSSInterpolation } from '@ant-design/cssinjs';
import { ComponentToken } from '@ant-design/theme-token';
export { CSSInterpolation };
export type GenerateStyle = (token: T) => Record;
export type ChatTokenType = ComponentToken & {
themeId?: number;
/**
* prochat 的 className
* @type {string}
* @example .ant-pro
*/
chatCls?: string;
/**
* antd 的 className
* @type {string}
* @example .ant
*/
antCls?: string;
/**
* 组件的 className
*/
componentCls: string;
placeholderContent?: string;
};
export declare const resetComponent: GenerateStyle;
/**
* 封装了一下 antd 的 useStyle,支持了一下antd@4
* @param componentName {string} 组件的名字
* @param styleFn {GenerateStyle} 生成样式的函数
* @returns UseStyleResult
*/
export declare function useEditorStyleRegister(componentName: string, styleFn: (token: ComponentToken) => CSSInterpolation): {
wrapSSR: (node: import("react").ReactElement>) => import("react").JSX.Element;
hashId: string;
};