'use client' import { ReactNode } from 'react' import { Provider, atom } from 'jotai' type Props = { children: ReactNode } export const editPromptAtom = atom('') export const currentPromptAtom = atom('') export const fileUploadAtom = atom([]) export const searchAtom = atom('') export const selectedTextAtom = atom('') export default function JotaiWrapper({ children }: Props) { return {children} } export type FileType = 'image' | 'pdf' export type FileInfo = { file: File type: FileType }