import type { GraphEdit, InputPath, WorkflowEditing } from '../editing.js'; import { type FormLayoutNode } from '../form/layout.js'; import { type Json } from './records.js'; interface Drop { parent: InputPath; index: number; beside?: { path: InputPath; side: 'left' | 'right'; }; stack?: { path: InputPath; side: 'above' | 'below'; }; } type Node = FormLayoutNode; /** Whether a list of inputs is drawn as a wizard, one step at a time. */ export declare function isWizard(list: unknown): boolean; export declare function layoutList(editing: WorkflowEditing, inputs: unknown, path: InputPath): Json; export declare function inputLayout(list: Json): Node; export declare function layoutEdit(editing: WorkflowEditing, inputs: unknown, parent: InputPath, layout: Node | undefined): GraphEdit; export declare function dropLayoutEdits(editing: WorkflowEditing, inputs: unknown, moving: InputPath[], drop: Drop, move: GraphEdit): GraphEdit[]; export declare function resizeLayout(editing: WorkflowEditing, inputs: unknown, left: InputPath, right: InputPath, split: [number, number]): GraphEdit | undefined; export declare function withInputLayouts(editing: WorkflowEditing, inputs: unknown, edit: GraphEdit): GraphEdit; export {};