import React from 'react';
import { type AutopilotChatAllowedAttachments, type AutopilotChatConfiguration, type AutopilotChatDisabledFeatures, AutopilotChatMode, type AutopilotChatOverrideLabels } from '../service';
type DeepRequired<T> = {
    [P in keyof T]-?: DeepRequired<T[P]>;
};
interface AutopilotChatStateContextType {
    historyAnchorElement: HTMLElement | null;
    setHistoryAnchorElement: (element: HTMLElement | null) => void;
    fullScreenContainer: HTMLElement | null;
    setFullScreenContainer: (element: HTMLElement | null) => void;
    historyOpen: boolean;
    settingsOpen: boolean;
    chatMode: AutopilotChatMode;
    disabledFeatures: AutopilotChatDisabledFeatures;
    overrideLabels: AutopilotChatOverrideLabels;
    firstRunExperience: AutopilotChatConfiguration['firstRunExperience'];
    allowedAttachments: AutopilotChatAllowedAttachments;
    hasMessages: boolean;
    setHasMessages: (hasMessages: boolean) => void;
    spacing: DeepRequired<NonNullable<AutopilotChatConfiguration['spacing']>>;
    theming?: AutopilotChatConfiguration['theming'];
    portalContainer?: HTMLElement;
    readOnly: boolean;
}
interface AutopilotChatStateProviderProps {
    children: React.ReactNode;
    portalContainer?: HTMLElement;
}
export declare const AutopilotChatStateProvider: React.FC<AutopilotChatStateProviderProps>;
export declare const useChatState: () => AutopilotChatStateContextType;
export {};
//# sourceMappingURL=chat-state-provider.d.ts.map