Package-level declarations
Types
Link copied to clipboard
interface DuckAiFeatureState
Link copied to clipboard
interface DuckAiHostProvider
Link copied to clipboard
Use this model to launch the Duck.ai chat history screen.
Link copied to clipboard
interface DuckChatInputModeState
The input mode currently displayed by the Duck.ai input widget.
Link copied to clipboard
Use this model to launch the DuckChat Settings screen and show native settings only
Link copied to clipboard
Use this model to launch the DuckChat Settings screen
Link copied to clipboard
interface NativeInputEventListener
Listens for native input events raised from the app layer (the host that shows the widget and receives its submit callbacks). Keeps :app off duckchat-impl internals — implementations live in duckchat-impl. The current implementation (MetricsNativeInputEventListener) fans these events out to the pixel, session-usage and discovery-funnel collaborators.
Functions
Link copied to clipboard
Returns the chatID from this Uri when it is a Duck.ai chat URL with a non-blank chatID; null otherwise (including for non-Duck.ai URLs).