import type { ICancelEventDetail } from 'libs/mosaik-elements/dist/Index';
import type { AttachmentChatToolElement } from '../Tools/AttachmentChatToolElement';
/**
 * Represents the `{@link IChatAttachmentRejectEvent}` interface.
 *
 * @public
 */
export interface IChatAttachmentRejectEventDetail extends ICancelEventDetail<AttachmentChatToolElement> {
    readonly file: File;
    readonly reason: 'size' | 'type' | 'count';
}
/**
 * Represents the `IChatAttachmentRejectedEvent` interface.
 *
 * @public
 */
export interface IChatAttachmentRejectEvent extends CustomEvent<IChatAttachmentRejectEventDetail> {
    readonly target: AttachmentChatToolElement;
}
declare global {
    interface HTMLElementEventMap {
        chatAttachmentRejected: IChatAttachmentRejectEvent;
    }
}
//# sourceMappingURL=IChatAttachmentRejectEvent.d.ts.map