import * as React from "react"; import { WidgetContent } from "./components/WidgetContent.js"; interface WidgetProps extends Omit, "title"> { title?: React.ReactNode; icon?: React.ReactElement; description?: React.ReactNode; padding?: "sm" | "md"; bodyPadding?: boolean; variant?: "accent" | "light" | "base"; elevation?: "none" | "sm" | "md" | "lg"; headerActions?: React.ReactNode; footerStartActions?: React.ReactNode; footerEndActions?: React.ReactNode; outline?: boolean; children: React.ReactNode; } declare const Widget: { (props: WidgetProps): React.JSX.Element; displayName: string; } & { original: { (props: WidgetProps): React.JSX.Element; displayName: string; }; originalName: string; displayName: string; } & { original: { (props: WidgetProps): React.JSX.Element; displayName: string; } & { original: { (props: WidgetProps): React.JSX.Element; displayName: string; }; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<{ (props: WidgetProps): React.JSX.Element; displayName: string; } & { original: { (props: WidgetProps): React.JSX.Element; displayName: string; }; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; } & { Action: ((props: import("../index.js").ButtonProps) => React.JSX.Element) & { original: (props: import("../index.js").ButtonProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: ((props: import("../index.js").ButtonProps) => React.JSX.Element) & { original: (props: import("../index.js").ButtonProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: import("../index.js").ButtonProps) => React.JSX.Element) & { original: (props: import("../index.js").ButtonProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; Icon: ((props: import("../index.js").IconProps) => React.JSX.Element) & { original: (props: import("../index.js").IconProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: ((props: import("../index.js").IconProps) => React.JSX.Element) & { original: (props: import("../index.js").IconProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: import("../index.js").IconProps) => React.JSX.Element) & { original: (props: import("../index.js").IconProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; }; export { Widget, type WidgetProps };