import * as React from "react"; import { DrawerContent } from "./components/DrawerContent.js"; import { DrawerRoot } from "./components/DrawerRoot.js"; interface DrawerProps extends React.ComponentPropsWithoutRef, Omit, "title"> { trigger?: React.ReactNode; title?: React.ReactNode; icon?: React.ReactElement; modal?: boolean; showCloseButton?: boolean; bodyPadding?: boolean; headerSeparator?: boolean; footerSeparator?: boolean; description?: React.ReactNode; children: React.ReactNode; actions?: React.ReactNode; info?: React.ReactNode; width?: React.CSSProperties["width"]; onClose?: () => void; onOpen?: () => void; } declare const Drawer: { (props: DrawerProps): React.JSX.Element; displayName: string; } & { original: { (props: DrawerProps): React.JSX.Element; displayName: string; }; originalName: string; displayName: string; } & { original: { (props: DrawerProps): React.JSX.Element; displayName: string; } & { original: { (props: DrawerProps): React.JSX.Element; displayName: string; }; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<{ (props: DrawerProps): React.JSX.Element; displayName: string; } & { original: { (props: DrawerProps): React.JSX.Element; displayName: string; }; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; } & { ConfirmButton: ((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; }; CancelButton: ((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: (({ className, ...props }: import("../index.js").IconProps) => React.JSX.Element) & { original: ({ className, ...props }: import("../index.js").IconProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: (({ className, ...props }: import("../index.js").IconProps) => React.JSX.Element) & { original: ({ className, ...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<(({ className, ...props }: import("../index.js").IconProps) => React.JSX.Element) & { original: ({ className, ...props }: import("../index.js").IconProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; }; export { Drawer, type DrawerProps };