import { sendMessageHooks } from "./sendMessage";
import { Message } from "@newSdk/model/Message";
interface ResendConfig {
    isReSend: boolean;
    reSendHooks: sendMessageHooks;
}
export type Content<T = string> = {
    chatId: string;
    aChatId: string;
    type: number;
    mid: string;
    amid: string;
    content: T;
} & Pick<Message, "local" | "extra">;
export declare const sendDefaultMessage_: (message: Message, hooks?: sendMessageHooks) => Promise<any>;
export declare const sendMediaMessage_: (source: File | string, message: Message<any>, hooks?: sendMessageHooks, handleProgress?: Function) => Promise<any>;
declare function HandleMessage(message: Message<any>, handleProgress?: Function, resendConfig?: ResendConfig, source?: File | string): Promise<any>;
export default HandleMessage;
