UNPKG

@promptbook/google

Version:

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

55 lines (54 loc) 1.62 kB
import type { ChatSoundSystem } from './ChatProps'; /** * Props for the ChatSoundToggle component */ export type ChatSoundToggleProps = { /** * The sound system instance */ soundSystem: ChatSoundSystem; /** * Optional CSS class name */ className?: string; }; /** * ChatSoundToggle component * * Renders a toggle button/checkbox to enable/disable chat sounds. * The state is persisted in localStorage via the SoundSystem. * * @public exported from `@promptbook/components` */ export declare function ChatSoundToggle(props: ChatSoundToggleProps): import("react/jsx-runtime").JSX.Element; /** * Props for the chat vibration toggle. */ export type ChatVibrationToggleProps = { /** * The sound system instance that supports vibration helpers. */ soundSystem: ChatSoundSystem; /** * Optional CSS class name. */ className?: string; }; /** * ChatVibrationToggle component that controls haptic feedback. * * @public exported from `@promptbook/components` */ export declare function ChatVibrationToggle(props: ChatVibrationToggleProps): import("react/jsx-runtime").JSX.Element | null; /** * Props for the combined sound and vibration control panel. */ export type ChatSoundAndVibrationPanelProps = { readonly soundSystem: ChatSoundSystem; }; /** * Renders a compact control panel that surfaces both sound and haptic toggles with richer affordances. * * @public exported from `@promptbook/components` */ export declare function ChatSoundAndVibrationPanel(props: ChatSoundAndVibrationPanelProps): import("react/jsx-runtime").JSX.Element;