import type React from 'react';
import type { WebchatMessage } from '../index-types';
interface DisabledProps {
    disabled?: boolean;
    autodisable?: boolean | string;
    disabledstyle?: Record<string, string> | string;
}
interface AdditionalProps {
    parentId: string;
    disabled?: boolean;
    setDisabled: (disabled: boolean) => void;
}
export declare class ButtonsDisabler {
    static constructBrowserProps(props: DisabledProps): DisabledProps;
    static constructNodeProps(props: DisabledProps): DisabledProps;
    static withDisabledProps(props: DisabledProps): DisabledProps;
    static updateChildrenButtons(children: React.ReactNode, additionalProps?: AdditionalProps): React.ReactNode;
    static updateButtons(node: any, additionalProps?: AdditionalProps): any;
    static getUpdatedMessage(messageToUpdate: WebchatMessage): WebchatMessage;
}
export {};
