import { type Accessor, type JSX, type ValidComponent } from 'solid-js'; import type { ChatPart as Part } from '@conciv/protocol/chat-message-types'; import { type Slottable } from '../util/primitive.js'; type TextPart = Extract; type ThinkingPart = Extract; type ImagePart = Extract; type ToolCallPart = Extract; type ToolResultPart = Extract; export declare function useMessagePartText(): Accessor; export declare function useMessagePartReasoning(): Accessor; export declare function useMessagePartImage(): Accessor; export declare function useMessagePartToolCall(): Accessor; type DocumentPart = Extract; type StructuredOutputPart = Extract; export declare function useMessagePartFile(): Accessor; export declare function useMessagePartData(): Accessor; export declare function useMessagePartSource(): Accessor; type TextProps = Omit, 'children'> & { component?: ValidComponent; streaming?: boolean; }; declare function Text(props: TextProps): JSX.Element; declare function Image(props: JSX.ImgHTMLAttributes & Slottable>): JSX.Element; declare function InProgress(props: { children: JSX.Element; }): JSX.Element; export declare const MessagePart: { Text: typeof Text; Image: typeof Image; InProgress: typeof InProgress; }; export type { TextPart, ThinkingPart, ImagePart, ToolCallPart, ToolResultPart }; //# sourceMappingURL=message-part.d.ts.map