import type { SupabaseClient } from '@supabase/supabase-js'; import type { Datamap, DatasetState } from 'blendtype'; import type { Database } from '../../../types/database.js'; export declare function uploadDatasets(datamap: Datamap, galaxyHistoryId: string, historyId: number, ownerId: string, supabase: SupabaseClient): Promise<({ step: string; galaxyId: string; insertedId: number; } | undefined)[]>; export declare function isDatasetTerminalState(state: DatasetState): boolean;