API reference: @salmonui/chat/smart-paste
SmartPasteinterface
import type { SmartPaste } from '@salmonui/chat/smart-paste';interface SmartPaste {
readonly paste: (text?: string) => Promise<SmartPasteResult>;
readonly pending: boolean;
}
| Name | Signature | Description |
|---|---|---|
paste | readonly paste: (text?: string) => Promise<SmartPasteResult>; | Without an argument reads |
pending | readonly pending: boolean; | True while a paste waits for the clipboard or the adapter. |