import { CSSProperties, ReactElement } from 'react';

export type TDynamicNodeProps = {
	className?: string;
	getContainer?: HTMLElement | (() => HTMLElement) | string;
	content?: ReactElement;
	fixed?: boolean;
	style?: CSSProperties;
};
/**
 * 动态添加 element 元素
 * ```
 * 1. 默认添加到 body 下
 * 2. 可通过 getContainer 参数设置添加位置
 * ```
 */
export declare const dynamicNode: {
	append: (props?: TDynamicNodeProps) => {
		elementId: string;
	};
	remove: (elementId?: string) => void;
};

export {};
