import type { MessageProps } from './Messages';
import { ComponentPublicInstance, Ref } from 'vue';
import { User } from '../free/types';
export declare type MessageStatus = 'success' | 'error' | 'uploading';
export declare type MessageType = 'text' | 'image' | 'file' | 'event';
export declare type Message = {
    id: string | number;
    time: number;
    type: MessageType;
    status: MessageStatus;
    content: string;
    toContactId: string | number;
    fileName?: string;
    fileSize?: number;
    from: User;
};
declare type MessageExpose = {
    loading: Ref;
    resetLoading: () => void;
    scrollToBottom: () => void;
    loadend: () => void;
};
export declare type MessageInstance = ComponentPublicInstance<MessageProps, MessageExpose>;
export {};
//# sourceMappingURL=types.d.ts.map