import { EditorBrickGlobal } from '@chief-editor/core';
import { IElementPosition } from '@co-hooks/dom';
import { UnionOmit } from '@co-hooks/util';
import { HTMLAttributes, ReactNode } from 'react';
import { IRcPortalProps } from '@rc-hooks/portal';
export interface IEditorBrickPortal extends IRcPortalProps {
    children: ReactNode | ((pos: IElementPosition) => ReactNode);
    brick: EditorBrickGlobal;
}
export declare type IEditorBrickPortalProps = UnionOmit<IEditorBrickPortal, HTMLAttributes<HTMLDivElement>>;
export declare function EditorBrickPortal(props: IEditorBrickPortalProps): JSX.Element;
