export interface MediaAsset {
  id: string;
  workspace_id: string;
  document_id: string;
  asset_type: string;
  file_url: string | null;
  thumbnail_url: string | null;
  storage_id?: string | null;
  bucket?: string | null;
  storage_path?: string | null;
  file_name: string | null;
  file_size: number | null;
  mime_type: string | null;
  ocr_payload?: unknown;
  ocr_strategy?: string | null;
  ocr_text: string | null;
  ocr_status: string | null;
  deleted_at?: string | null;
  deleted_by?: string | null;
  purged_at?: string | null;
  signed_url?: string | null;
  created_at: string;
  updated_at: string;
}

export interface MediaSelection {
  assetId: string;
  fileUrl: string;
  thumbnailUrl?: string | null;
  assetType?: string;
  fileName?: string | null;
  fileSize?: number | null;
  mimeType?: string | null;
}

export type MediaKind = "image" | "video" | "audio" | "file";
