import type { ComponentType } from 'react';
import type { ActionExecuted } from '../../sdk-types';
import type { ChatMessage } from '../../types';
import type { PoweredByProps } from '../identity/PoweredBy';
export interface ChatWidgetProps {
    position?: 'bottom-right' | 'bottom-left';
    offset?: number;
    width?: number;
    height?: number;
    defaultOpen?: boolean;
    icon?: string;
    buttonColor?: string;
    placeholder?: string;
    allowAttachments?: boolean;
    suggestedQuestions?: string[];
    showPoweredBy?: boolean | PoweredByProps;
    customCardRenderers?: Record<string, ComponentType<{
        action: ActionExecuted;
    }>>;
    onMessage?: (message: ChatMessage) => void;
    onActionExecuted?: (action: ActionExecuted) => void;
}
export declare function ChatWidget({ position, offset, width, height, defaultOpen, icon, buttonColor, placeholder, allowAttachments, suggestedQuestions, showPoweredBy, customCardRenderers, onMessage, onActionExecuted, }: ChatWidgetProps): import("react").ReactPortal | null;
