import type { GraphEdit } from '../editing.js'; import { type Json } from './editorFields.js'; import type { SettingsView } from './settingsViews.js'; /** What this dialog writes; the schema coverage test holds these to the workflow schema. */ export declare const WORKFLOW_FIELDS: readonly ['env', 'timeout', 'permissions', 'sessions', 'links', 'needs']; export declare const SESSION_FIELDS: string[]; export declare const LINK_FIELDS: string[]; export declare const NEEDS_FIELDS: string[]; export declare const INPUT_FORM_FIELDS: string[]; interface SettingsDialogProps { workflow: Json; onEdit: (edit: GraphEdit) => void; onClose: () => void; } /** The workflow's own settings in a form, or as YAML; switching carries the edits across. */ export declare function WorkflowSettingsDialog(props: SettingsDialogProps & { source?: string | undefined; view?: SettingsView | undefined; onViewChange?: ((view: SettingsView) => void) | undefined; }): import("react").JSX.Element; export {};