import { SystemStyleObject } from "../../styled-system/types"; import { OverrideProps } from "../../utils/types"; import { CloseButtonProps, ThemeableCloseButtonOptions } from "../close-button/close-button"; import { ModalProps } from "../modal/modal"; import { ModalBodyProps } from "../modal/modal-body"; import { ModalFooterProps } from "../modal/modal-footer"; import { ModalHeaderProps } from "../modal/modal-header"; import { ElementType } from "../types"; import { DrawerDialogVariants } from "./drawer.styles"; export declare type DrawerPlacement = "top" | "right" | "bottom" | "left"; interface DrawerOptions extends DrawerDialogVariants { /** * The placement of the drawer */ placement?: DrawerPlacement; /** * If `true`, the drawer will appear without any transition. */ disableMotion?: boolean; } export declare type DrawerProps = OverrideProps, DrawerOptions>; declare type ThemeableDrawerOptions = Pick; export interface DrawerStyleConfig { baseStyle?: { overlay?: SystemStyleObject; content?: SystemStyleObject; closeButton?: SystemStyleObject; header?: SystemStyleObject; body?: SystemStyleObject; footer?: SystemStyleObject; }; defaultProps?: { root?: ThemeableDrawerOptions; closeButton?: ThemeableCloseButtonOptions; }; } export declare function Drawer(props: DrawerProps): import("solid-js").JSX.Element; export declare function useDrawerContext(): Required; export declare function DrawerCloseButton(props: CloseButtonProps): import("solid-js").JSX.Element; export declare function DrawerBody(props: ModalBodyProps): import("solid-js").JSX.Element; export declare function DrawerHeader(props: ModalHeaderProps): import("solid-js").JSX.Element; export declare function DrawerFooter(props: ModalFooterProps): import("solid-js").JSX.Element; export {}; //# sourceMappingURL=drawer.d.ts.map