import React from 'react'; export declare enum Types { ajax = "ajax", modal = "modal", message = "message", confirm = "confirm", notification = "notification", drawer = "drawer", dialog = "dialog", email = "email", download = "download", upload = "upload", cancel = "cancel", close = "close", reload = "reload", link = "link", url = "url", prev = "prev", next = "next", custom = "custom" } export declare enum ActionType { add = "add", edit = "edit", confirm = "confirm", message = "message", notification = "notification", openNewWindow = "openNewWindow", custom = "custom" } export declare enum AType { modal = "modal", confirm = "confirm", message = "message", notification = "notification", openNewWindow = "openNewWindow", upload = "upload", custom = "custom" } interface TProps { type?: ActionType; showType?: "link" | "text" | "ghost" | "primary" | "default" | "dashed" | undefined; text: string | Function | React.ReactNode; title: string; enable?: boolean; value?: any; rows?: any; initApi?: string | Promise; api?: string | Promise; url?: string; body?: any; content?: string; messageContent?: string; icon?: React.ReactNode; onfetchData?: Function; callback?: Function; } export declare const Action: (props: TProps) => JSX.Element; export default Action;