// @bun
import{Dq as e,Xs as n,wq as i}from"./chunk-9fn5qenm.js";import{bD as t,xG as s}from"./chunk-bt9y3st3.js";var o=5000,m={PromptAppend:e.define("tui.prompt.append",s.Struct({text:s.String})),CommandExecute:e.define("tui.command.execute",s.Struct({command:s.Union([s.Literals(["session.list","session.new","session.share","session.interrupt","session.compact","session.page.up","session.page.down","session.line.up","session.line.down","session.half.page.up","session.half.page.down","session.first","session.last","prompt.clear","prompt.submit","agent.cycle"]),s.String])})),ToastShow:e.define("tui.toast.show",s.Struct({title:s.optional(s.String),message:s.String,variant:s.Literals(["info","success","warning","error"]),duration:i.pipe(s.withDecodingDefault(t.succeed(o))).annotate({description:"Duration in milliseconds"})})),SessionSelect:e.define("tui.session.select",s.Struct({sessionID:n.annotate({description:"Session ID to navigate to"})}))};
export{m as im};
