import type { EditRefusalReason, WorkflowEditing } from '../editing.js'; import { type GraphEditorStrings } from './editorStrings.js'; /** A refusal in the host's words, or the engine's English when the host gives none. */ export declare function refusalText(t: GraphEditorStrings, editing: WorkflowEditing, reason: EditRefusalReason): string; /** What to tell the person when an edit throws: why it was refused, or the error itself. */ export declare function editErrorText(t: GraphEditorStrings, editing: WorkflowEditing, error: unknown): string;