import React from "react";
type showPanelValueType = {
    title?: string | React.ReactNode;
    content?: React.ReactNode;
    footer?: React.ReactNode;
    onClose?: () => undefined | boolean | Promise<boolean> | void;
    width?: number;
} | null;
export declare function useUIapi(): {
    showModal: (content: string | React.ReactNode, type?: "ok" | "yesno") => void;
    showRightPanel: (value: showPanelValueType) => void;
    hideRightPanel: () => void;
};
export {};
