import { ComputedRef, Ref } from 'vue'; import { BioTemplatePackEntry, TemplateCollectionEnvelope, TemplatePackId } from '../templates'; import { UseTemplateCollectionOptions, UseTemplateCollectionReturn } from './useTemplateCollection'; import { BioTemplateRendererBinding, BioTemplateWorkspaceBindings, UseBioTemplateWorkspaceReturn } from './useBioTemplateWorkspace'; import { BioTemplateComponentBinding, BioTemplateComponentBindingsById, BioTemplateComponentImport, BioTemplateComponentPropsByComponent, BioTemplateComponentPropsBinding, BioTemplateComponentPropsById, BioTemplateComponentSnippet, BioTemplateComponentUsage } from './useBioTemplateComponents'; export type UseBioTemplatePackWorkspaceOptions = UseTemplateCollectionOptions; export interface UseBioTemplatePackWorkspaceReturn { packId: TemplatePackId; pack: BioTemplatePackEntry; collection: Ref; templates: UseTemplateCollectionReturn['templates']; templateIds: UseTemplateCollectionReturn['templateIds']; currentExperimentId: UseTemplateCollectionReturn['currentExperimentId']; hasCurrentExperiment: UseTemplateCollectionReturn['hasCurrentExperiment']; loading: UseTemplateCollectionReturn['isLoading']; saving: UseTemplateCollectionReturn['isSaving']; error: UseTemplateCollectionReturn['error']; lastLoadedAt: UseTemplateCollectionReturn['lastLoadedAt']; lastSavedAt: UseTemplateCollectionReturn['lastSavedAt']; renderer: ComputedRef; workspace: ComputedRef; form: ComputedRef; sidebar: ComputedRef; topBar: ComputedRef; pillNav: ComputedRef; topBarSettings: ComputedRef; bindings: ComputedRef; componentBindings: ComputedRef; componentBindingsById: ComputedRef; componentImports: ComputedRef; componentProps: ComputedRef; componentPropsById: ComputedRef; componentPropsByComponent: ComputedRef; componentSnippets: ComputedRef; componentUsage: ComputedRef; getComponentProps: UseBioTemplateWorkspaceReturn['getComponentProps']; applyCollection: (value: unknown, metadata?: Record) => TemplateCollectionEnvelope; resetToDefaultCollection: () => TemplateCollectionEnvelope; save: UseTemplateCollectionReturn['save']; saveCurrent: UseTemplateCollectionReturn['saveCurrent']; load: UseTemplateCollectionReturn['load']; loadCurrent: UseTemplateCollectionReturn['loadCurrent']; requireCurrentExperimentId: UseTemplateCollectionReturn['requireCurrentExperimentId']; } /** * Create a complete workspace for a curated biology template pack from a single pack id. * * @example Recommended * ```ts * const pack = useBioTemplatePackWorkspace('cell-culture-screen') * await pack.loadCurrent() * ``` * * @deprecated Scheduled for removal in MINT 1.4; no SDK replacement. */ export declare function useBioTemplatePackWorkspace(packId: TemplatePackId | string, options?: UseBioTemplatePackWorkspaceOptions): UseBioTemplatePackWorkspaceReturn;