import React from "react"; import { PbEditorElement } from "../../../../types"; export interface AddElementButtonProps { element: PbEditorElement; className?: string; icon?: JSX.Element; onClick?: (element: PbEditorElement) => void; } export declare const AddElementButton: (({ icon, element, onClick, className }: AddElementButtonProps) => React.JSX.Element) & { original: ({ icon, element, onClick, className }: AddElementButtonProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: (({ icon, element, onClick, className }: AddElementButtonProps) => React.JSX.Element) & { original: ({ icon, element, onClick, className }: AddElementButtonProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/app-admin").ComponentDecorator<(({ icon, element, onClick, className }: AddElementButtonProps) => React.JSX.Element) & { original: ({ icon, element, onClick, className }: AddElementButtonProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; };