export declare function usePasteHandler(opts: {
    onPaste?: (text: string) => void;
    onInput: (input: string, key: any) => void;
    onImagePaste?: (...args: any[]) => void;
}): {
    wrappedOnInput: (input: string, key: any) => void;
    isPasting: boolean;
};
