import type { ReactNode } from "react"; export interface BasicProviderProps { apiUrl?: string; children: ReactNode; tenantId: string; token: string; } export interface ImageUploadConfig { file: Blob; onProgress?: (progress: number) => void; } export interface ImageUploadResponse { url: string; } export type UploadImageFunction = ((file: Blob) => Promise) | ((file: File) => Promise) | ((config: ImageUploadConfig) => Promise);