UNPKG

@promptbook/google

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

43 lines (42 loc) 1.79 kB
/** * Stable global CSS class names exposed by chat components for host-level styling. * * These names are intentionally centralized so both rendering code and * host-application tooling (for example Agents Server custom CSS editor) can stay DRY. * * @private Internal chat styling contract for Promptbook-host applications. */ export declare const chatCssClassNames: { readonly chat: "agent-chat"; readonly chatMainFlow: "agent-chat-main-flow"; readonly chatMessages: "chat-messages"; readonly chatMessage: "chat-message"; readonly userMessage: "user-message"; readonly agentResponse: "agent-response"; readonly messageStack: "chat-message-stack"; readonly messageContent: "chat-message-content"; readonly messageAvatar: "chat-message-avatar"; readonly userAvatar: "user-avatar"; readonly agentAvatar: "agent-avatar"; readonly chatInput: "chat-input"; readonly inputContainer: "chat-input-container"; readonly inputTextarea: "chat-input-textarea"; readonly inputAttachmentButton: "chat-input-attachment-button"; readonly inputVoiceButton: "chat-input-voice-button"; readonly inputSendButton: "chat-input-send-button"; }; /** * Human-readable descriptions for globally available chat CSS hooks. * * @private Internal chat styling contract for Promptbook-host applications. */ export declare const chatCssClassDescriptions: Record<keyof typeof chatCssClassNames, string>; /** * Resolves legacy global chat classes that already existed in rendered markup. * * @param suffix - Legacy chat class suffix. * @returns Legacy global class name prefixed with `chat-`. * * @private Internal helper for backward-compatible chat selectors. */ export declare function getChatCssClassName(suffix: string): string;