/// <reference types="react" />
import { Drawer } from 'antd';
import { OperationItem } from '../type';
declare const useDrawerState: (operationContent?: {
    [key: string]: import("react").ReactNode;
} | undefined) => {
    drawerVisible: boolean;
    setDrawerVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    openDrawer: (item: OperationItem) => void;
    closeDrawer: () => void;
    drawerContent: import("react").ReactNode;
    Container: typeof Drawer | {
        (props: import("../../../pisellModal").PisellModalProps): import("react").JSX.Element;
        confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
            destroy: () => void;
            update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
        };
        info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
            destroy: () => void;
            update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
        };
        error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
            destroy: () => void;
            update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
        };
        warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
        warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
            destroy: () => void;
            update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
        };
        success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
            destroy: () => void;
            update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
        };
        Information: (props: import("../../../pisellModal/components/Information").InformationProps) => import("react").JSX.Element;
    };
    containerProps: {};
};
export default useDrawerState;
