@promptbook/google
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
21 lines (20 loc) • 920 B
TypeScript
import { type Dispatch, type SetStateAction } from 'react';
import type { DictationDictionary, DictationRefinementSettings } from './refineFinalDictationChunk';
/**
* Persistent dictation state shared by the dictation hook and its helpers.
*
* @private function of `useChatInputAreaDictationPersistence`
*/
type UseChatInputAreaDictationPersistenceResult = {
readonly dictationSettings: DictationRefinementSettings;
readonly setDictationSettings: Dispatch<SetStateAction<DictationRefinementSettings>>;
readonly dictationDictionary: DictationDictionary;
readonly setDictationDictionary: Dispatch<SetStateAction<DictationDictionary>>;
};
/**
* Manages local-storage-backed dictation preferences and the learned dictionary.
*
* @private function of `useChatInputAreaDictation`
*/
export declare function useChatInputAreaDictationPersistence(): UseChatInputAreaDictationPersistenceResult;
export {};