'use client' import { PropsWithChildren } from 'react' import { Provider, atom } from 'jotai' 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 }: PropsWithChildren) { return {children} } export type FileType = 'image' | 'pdf' export type FileInfo = { file: File type: FileType }