import type { SupabaseClient } from '@supabase/supabase-js'; import type { Datamap, GalaxyWorkflowInput, GalaxyWorkflowParameters, InvocationState } from 'blendtype'; import type { Database } from '../../../types/database.js'; export declare function runAnalysis(analysisName: string, galaxyHistoryId: string, galaxyWorkflowId: string, historyId: number, workflowId: number, ownerId: string, inputs: GalaxyWorkflowInput, parameters: GalaxyWorkflowParameters, datamap: Datamap): Promise<{ id: undefined | number; inputIds: number[] | undefined; }>; export declare function synchronizeAnalyses(supabaseClient: SupabaseClient, ownerId: string): Promise; export declare function synchronizeAnalysis(analysisId: number, supabaseClient: SupabaseClient, ownerId: string): Promise; export declare function isAnalysisTerminalState(state: InvocationState): boolean; export declare function getJobIdsWithOutputs(analysisId: number, ownerId: string): Promise<(string | null)[] | undefined>; export declare function getInvocationOutputs(analysisId: number, ownerId: string): Promise | undefined>;