@promptbook/anthropic-claude
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
17 lines (16 loc) • 431 B
TypeScript
/**
* Produces insertion metadata for one dictated chunk.
*
* @private function of `useChatInputAreaDictation`
*/
export declare function insertDictationChunk(params: {
readonly currentValue: string;
readonly dictatedText: string;
readonly selectionStart: number;
readonly selectionEnd: number;
readonly shouldReplaceSelection: boolean;
}): {
nextValue: string;
start: number;
caret: number;
};