/** * [WHO]: Public exports from this file (see implementation below). * [FROM]: See the import block immediately after this header. * [TO]: sparkdesign package consumers; output of CLI `add` when applicable. * [HERE]: registry/chat/chat-input/index.tsx — Spark Design source; keep aligned with the main library. * * [PROTOCOL]: * 1. Keep this P3 header in sync when the public contract changes. * 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change. * 3. Follow design tokens and explicit type exports. */ import React from 'react'; import { ChatInputRootProvider } from './context'; import { ChatInputAbove, ChatInputBox, ChatInputAttachments, ChatInputInput, ChatInputActions, ChatInputActionsLeft, ChatInputActionsRight, ChatInputExpandButton, ChatInputFolderButton, ChatInputMoreButton, ChatInputSendButton, ChatInputFooterLeft } from './compound'; import type { ChatInputProps } from './types'; export type { ChatInputProps, FolderPermissionConfig, GenerationStatusConfig, FooterLeftModelSwitchConfig, FooterLeftModelSwitchItem, } from './types'; export interface ChatInputCompound { Root: typeof ChatInputRootProvider; Above: typeof ChatInputAbove; Box: typeof ChatInputBox; Attachments: typeof ChatInputAttachments; Input: typeof ChatInputInput; Actions: typeof ChatInputActions; ActionsLeft: typeof ChatInputActionsLeft; ActionsRight: typeof ChatInputActionsRight; ExpandButton: typeof ChatInputExpandButton; FolderButton: typeof ChatInputFolderButton; MoreButton: typeof ChatInputMoreButton; SendButton: typeof ChatInputSendButton; FooterLeft: typeof ChatInputFooterLeft; } export declare const ChatInput: React.ForwardRefExoticComponent> & ChatInputCompound; export { ChatInputRootProvider as ChatInputRoot } from './context'; export { ChatInputAbove, ChatInputBox, ChatInputAttachments, ChatInputInput, ChatInputActions, ChatInputActionsLeft, ChatInputActionsRight, ChatInputExpandButton, ChatInputFolderButton, ChatInputMoreButton, ChatInputSendButton, ChatInputFooterLeft, } from './compound'; export type { ChatInputRootProps } from './context'; export type { ChatInputAboveProps, ChatInputBoxProps, ChatInputAttachmentsProps, ChatInputInputProps, ChatInputActionsProps, ChatInputActionsLeftProps, ChatInputActionsRightProps, ChatInputExpandButtonProps, } from './compound';