import type { WorkflowEditing } from '../editing.js'; import type { EditorMarker } from '../editor/Monaco.js'; import type { NestedWorkflowText } from '../editor/nestedText.js'; import { type Strings } from './editorFields.js'; import { type ScopedProblem } from './fieldProblems.js'; /** Which view the job, step, input and settings dialogs open in. */ export type SettingsView = 'form' | 'yaml'; export declare function yamlProblem(yaml: string, t: Strings, editing: WorkflowEditing): string | undefined; export declare function ViewSwitch({ yaml, onForm, onYaml, }: { yaml: boolean; onForm: () => void; onYaml: () => void; }): import("react").JSX.Element; export interface ScopedProblems { markers: EditorMarker[]; problems: ScopedProblem[]; } export declare const NO_SCOPED: ScopedProblems; export declare function YamlPane({ path, value, onChange, problem, scoped, nested, }: { path: string; value: string; onChange: (value: string) => void; problem: string | undefined; scoped: ScopedProblems; nested?: NestedWorkflowText | undefined; }): import("react").JSX.Element;