/** * Media Upload Hook * * TanStack Query mutation for uploading files to the media library. * Integrates with the enhanced upload endpoint that creates DB records. */ import type { Media } from '../lib/media/types'; interface UploadResult { urls: string[]; media: Media[]; count: number; storage: string; } /** * Upload files to media library * * Returns a mutation that accepts File[] and uploads to /api/v1/media/upload * The enhanced endpoint creates database records and returns full media objects */ export declare function useMediaUpload(): import("@tanstack/react-query").UseMutationResult; /** * Hook for tracking upload progress (client-side state) * This is a simpler version - can be enhanced with upload progress tracking */ export declare function useUploadProgress(): any; export {}; //# sourceMappingURL=useMediaUpload.d.ts.map