/**
 * THIS IS GENERATED CODE!
 * PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
 */
export declare const typescriptDeclarationFixConstant = 1;
import { UiQuery } from "./UiQuery";
import { UiComponentConfig } from "./UiComponentConfig";
import { UiChatMessageBatchConfig } from "./UiChatMessageBatchConfig";
import { UiChatMessageConfig } from "./UiChatMessageConfig";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiChatDisplayConfig extends UiComponentConfig {
    _type?: string;
    initialMessages?: UiChatMessageBatchConfig;
    contextMenuEnabled?: boolean;
    deletedMessageIcon?: string;
    requestPreviousMessages: (query: UiChatDisplay_RequestPreviousMessagesQuery) => Promise<UiChatMessageBatchConfig>;
    requestContextMenu: (query: UiChatDisplay_RequestContextMenuQuery) => Promise<unknown>;
}
export interface UiChatDisplayCommandHandler extends UiComponentCommandHandler {
    addMessages(messages: UiChatMessageBatchConfig): any;
    updateMessage(message: UiChatMessageConfig): any;
    deleteMessage(messageId: number): any;
    clearMessages(messages: UiChatMessageBatchConfig): any;
    closeContextMenu(): any;
}
export interface UiChatDisplay_RequestPreviousMessagesQuery extends UiQuery {
}
export interface UiChatDisplay_RequestContextMenuQuery extends UiQuery {
    chatMessageId: number;
}
