/** An editor holding one job or step of a workflow, whose inputs live outside its text. */ export interface NestedWorkflowText { /** The workflow's inputs, so a new group is named clear of them. */ inputs: () => Record; /** Adds the group of inputs a `with:` completion's expressions read. */ addInputs: (name: string, definition: Record) => void; } /** Lets completions reach the workflow around the editor of model `uri`; returns the undo. */ export declare function publishNestedText(uri: string, text: { current: NestedWorkflowText | undefined; }): () => void; /** The workflow around the editor of model `uri`, or undefined when its text is a whole workflow. */ export declare function nestedWorkflowText(uri: string): NestedWorkflowText | undefined;