import type { IEventDetail } from '@breadstone/mosaik-elements';
import type { ChatElement } from '../ChatElement';
/**
 * Represents the `{@link IChatSubmitEvent}` interface.
 *
 * @public
 */
export interface IChatSubmitEventDetail<TMessage = unknown> extends IEventDetail<ChatElement> {
    readonly message: TMessage;
}
/**
 * Represents the `IChatSubmitEvent` interface.
 *
 * @public
 */
export interface IChatSubmitEvent extends CustomEvent<IChatSubmitEventDetail> {
    readonly target: ChatElement;
}
declare global {
    interface HTMLElementEventMap {
        submited: IChatSubmitEvent;
    }
}
//# sourceMappingURL=IChatSubmitEventDetail.d.ts.map