API reference: @salmonui/chat/smart-paste
SmartPasteAdaptertype
import type { SmartPasteAdapter } from '@salmonui/chat/smart-paste';type SmartPasteAdapter = (request: SmartPasteRequest, init: {
readonly signal: AbortSignal;
}) => Promise<string | Readonly<Record<string, unknown>>>;
Returns a JSON object keyed by field name, or JSON text of one.