@restnfeel/agentc-starter-kit
Version:
한국어 기업용 CMS 모듈 - Task Master AI와 함께 빠르게 웹사이트를 구현할 수 있는 재사용 가능한 컴포넌트 시스템
45 lines • 1.51 kB
TypeScript
import React from 'react';
export declare enum ChatMode {
DESKTOP = "desktop",
MOBILE = "mobile",
AUTO = "auto"
}
export interface ChatState {
isOpen: boolean;
mode: ChatMode;
sessionId: string;
}
export interface UnifiedChatRouterConfig {
defaultMode: ChatMode;
enableDebug: boolean;
enableTransitions: boolean;
mobileBreakpoint: number;
}
interface UnifiedChatRouterContextType {
chatState: ChatState;
config: UnifiedChatRouterConfig;
openChat: () => void;
closeChat: () => void;
toggleChat: () => void;
switchMode: (mode: ChatMode) => void;
}
export declare const useUnifiedChatRouter: () => UnifiedChatRouterContextType;
interface UnifiedChatRouterProviderProps {
children: React.ReactNode;
config?: Partial<UnifiedChatRouterConfig>;
}
export declare const UnifiedChatRouterProvider: React.FC<UnifiedChatRouterProviderProps>;
interface UnifiedFloatingChatButtonProps {
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
size?: 'small' | 'medium' | 'large';
className?: string;
}
export declare const UnifiedFloatingChatButton: React.FC<UnifiedFloatingChatButtonProps>;
interface UnifiedChatSystemProps {
config?: Partial<UnifiedChatRouterConfig>;
buttonProps?: Partial<UnifiedFloatingChatButtonProps>;
children?: React.ReactNode;
}
export declare const UnifiedChatSystem: React.FC<UnifiedChatSystemProps>;
export default UnifiedChatSystem;
//# sourceMappingURL=unified-chat-router.d.ts.map