import type { DrawerProps } from "antd"; import { type useModalReturnType } from "@refinedev/core"; export type useDrawerReturnType = { drawerProps: DrawerProps; } & Omit; export type useDrawerProps = { /** * Default props for Ant Design {@link https://ant.design/components/drawer/ ``} component. */ drawerProps?: DrawerProps; }; /** * By using `useDrawer` you get props for your records from API in accordance with Ant Design {@link https://ant.design/components/drawer/ ``} component. * * @see {@link https://refine.dev/docs/ui-integrations/ant-design/hooks/use-drawer} for more details. */ export declare const useDrawer: ({ drawerProps, }?: useDrawerProps) => useDrawerReturnType; //# sourceMappingURL=index.d.ts.map