import type { LearningRefusal } from "@opengeni/sdk/learning-refusal"; import type { OpenGeniText } from "../messages/runtime.js"; /** Where the notice links: the item, its list, or Agent learning settings. */ export type LearningRefusalPlace = { kind: "skill"; skillId: string; } | { kind: "skills"; } | { kind: "instructions"; } | { kind: "knowledge"; } | { kind: "learning-settings"; }; export declare function learningRefusalTitle(t: OpenGeniText, refusal: LearningRefusal): string; /** Why it was not saved and what would make it work, in plain words. */ export declare function learningRefusalBody(t: OpenGeniText, refusal: LearningRefusal): string; /** The canonical plain-text sentence for consumers without the structured row. */ export declare function learningRefusalText(t: OpenGeniText, refusal: LearningRefusal): string; /** The one place the row links to, or null when no person can act on it. */ export declare function learningRefusalPlace(refusal: LearningRefusal): LearningRefusalPlace | null; export declare function learningRefusalPlaceLabel(t: OpenGeniText, place: LearningRefusalPlace): string;