import { TopBarVariant } from '../types'; import { FormEnhancements } from '../types/form-builder'; import { ControlComponentBindingsConfig, ControlComponentPropsByIdMap, ControlComponentPropsMap, ControlModel, ControlModelBinding, ControlSchema, ControlWorkspaceOptions, UseControlWorkspaceReturn } from '../composables/useControlSchema'; type ControlWorkspaceSidebarVariant = 'default' | 'analysis'; type ResolvedControlWorkspace = UseControlWorkspaceReturn; interface ControlWorkspaceDefaultSlotProps { workspace: ResolvedControlWorkspace; bindings: ResolvedControlWorkspace['bindings']; values: ResolvedControlWorkspace['values']; componentBindings: ReturnType; componentBindingsById: ReturnType; componentProps: ReturnType; componentPropsById: ReturnType; } interface ControlWorkspaceTopbarSlotProps { workspace: ResolvedControlWorkspace; bindings: ResolvedControlWorkspace['bindings']; topBar: ResolvedControlWorkspace['bindings']['topBar']['value']; } interface ControlWorkspaceSidebarSlotProps { workspace: ResolvedControlWorkspace; bindings: ResolvedControlWorkspace['bindings']; sidebar: ResolvedControlWorkspace['sidebar']; } interface Props { /** Model returned by defineControlModel()/defineDoseDesignControlModel(), or a raw nested ControlModel. */ model?: ControlModel | ControlModelBinding; /** Workspace returned by useControlWorkspace(). Use for full manual control. */ workspace?: UseControlWorkspaceReturn; /** Compact controls schema. When provided without workspace, the view creates the workspace internally. */ controls?: ControlSchema; /** Options passed to the internally generated useControlWorkspace() call. */ controlOptions?: ControlWorkspaceOptions; /** Initial values for the internally generated workspace. Merged over controlOptions.initialValues. */ initialValues?: Record; /** External values for the internally generated workspace. Supports default v-model. */ modelValue?: Record; /** External values for the internally generated workspace. Supports v-model:values. */ values?: Record; /** AppTopBar title. */ title?: string; /** AppTopBar subtitle. */ subtitle?: string; /** AppTopBar visual variant. */ topBarVariant?: TopBarVariant; /** AppSidebar/AppLayout sidebar width. */ sidebarWidth?: string; /** @deprecated No-op, removed in MINT 1.4. AppSidebar has one look now; the former `analysis` preset is the default. */ sidebarVariant?: ControlWorkspaceSidebarVariant; /** Convert the sidebar into an SDK-owned mobile overlay below the AppLayout breakpoint. */ responsiveSidebar?: boolean; /** Sidebar position in AppLayout. */ sidebarPosition?: 'left' | 'right'; /** Optional AppSidebar chrome title for LEAF-style plugin workbenches. */ sidebarTitle?: string; /** Optional AppSidebar chrome subtitle for active experiment/run context. */ sidebarSubtitle?: string; /** Optional compact badge/count rendered in the AppSidebar chrome header. */ sidebarBadge?: string | number; /** Floating AppLayout style. */ floating?: boolean; /** Compact AppSidebar density. */ dense?: boolean; /** Whether AppTopBar should show generated settings. */ showSettings?: boolean; /** Render FormBuilder actions in the default content. */ showFormActions?: boolean; /** Runtime FormBuilder enhancements passed to generated forms. */ formEnhancements?: FormEnhancements>; /** Optional SDK component bindings exposed to the default slot with resolved props. */ componentBindings?: ControlComponentBindingsConfig; /** Optional mapping from workspace values to component props exposed to the default slot. */ componentProps?: ControlComponentPropsMap; /** Optional named mappings from workspace values to component props exposed to the default slot. */ componentPropsById?: ControlComponentPropsByIdMap; /** Loading/saving state passed to generated forms. */ formLoading?: boolean; /** Disabled state passed to generated forms. */ formDisabled?: boolean; /** Readonly state passed to generated forms. */ formReadonly?: boolean; /** FormBuilder size in the default content. */ formSize?: 'sm' | 'md' | 'lg'; } type __VLS_Slots = { default?: (props: ControlWorkspaceDefaultSlotProps) => unknown; topbar?: (props: ControlWorkspaceTopbarSlotProps) => unknown; sidebar?: (props: ControlWorkspaceSidebarSlotProps) => unknown; }; declare const __VLS_base: import('vue').DefineComponent) => any; submit: (values: Record) => any; cancel: () => any; "update:values": (values: Record) => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((values: Record) => any) | undefined; onSubmit?: ((values: Record) => any) | undefined; onCancel?: (() => any) | undefined; "onUpdate:values"?: ((values: Record) => any) | undefined; }>, { values: Record; modelValue: Record; title: string; floating: boolean; subtitle: string; initialValues: Record; controls: ControlSchema; controlOptions: ControlWorkspaceOptions; model: ControlModel | ControlModelBinding; componentBindings: ControlComponentBindingsConfig; componentProps: ControlComponentPropsMap; componentPropsById: ControlComponentPropsByIdMap; dense: boolean; showSettings: boolean; formEnhancements: FormEnhancements>; showFormActions: boolean; formLoading: boolean; formDisabled: boolean; formReadonly: boolean; formSize: "sm" | "md" | "lg"; sidebarPosition: "left" | "right"; sidebarWidth: string; responsiveSidebar: boolean; topBarVariant: TopBarVariant; sidebarTitle: string; sidebarSubtitle: string; sidebarBadge: string | number; sidebarVariant: ControlWorkspaceSidebarVariant; workspace: UseControlWorkspaceReturn; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };