export type useModalReturnType = {
    visible: boolean;
    show: () => void;
    close: () => void;
};
export type useModalProps = {
    /**
     * Initial state of the modal
     */
    defaultVisible?: boolean;
};
export declare const useModal: ({ defaultVisible, }?: useModalProps) => useModalReturnType;
//# sourceMappingURL=index.d.ts.map