import { MessageContent, MessageStyles } from '../../types/messages';
import { FilesServiceConfig } from '../../types/fileServiceConfigs';
import { ValidateInput } from '../../types/validateInput';
import { DeepChat } from '../../deepChat';
import { Demo } from '../../types/demo';
export declare class Legacy {
    static checkForContainerStyles(deepChat: DeepChat, containerRef: HTMLElement): void;
    static handleResponseProperty(result: any | Response): any;
    static processHistory(deepChat: DeepChat): MessageContent[] | undefined;
    static processHistoryFile(message: MessageContent): void;
    static processValidateInput(deepChat: DeepChat): ValidateInput | undefined;
    static processSubmitUserMessage(content: string): {
        text: string;
    };
    static flagHTMLUpdateClass(bubbleElement: HTMLElement): void;
    static processConnect(deepChat: DeepChat): void;
    static checkForStream(deepChat: DeepChat): true | import("../../types/stream").StreamSimulation | undefined;
    static fireOnNewMessage(deepChat: DeepChat, updateBody: {
        message: MessageContent;
        isHistory: boolean;
    }): void;
    static processFileConfigConnect(config: FilesServiceConfig): void;
    static processMessageStyles(messageStyles?: MessageStyles): any;
    static processDemo(demo: Demo): true | {
        response?: import("../../types/demo").DemoResponse | undefined;
        displayErrors?: import("../../types/demo").DemoErrors | undefined;
        displayLoading?: import("../../types/demo").DemoLoading | undefined;
        displayFileAttachmentContainer?: boolean | undefined;
    };
}
//# sourceMappingURL=legacy.d.ts.map