Public declaration syntax from harness-tui-kit/src/components/system/resume_picker.rs Original source SHA-256: f60e60a059f8b1880e6df6d976f105c6cef32a5352152447f22345b96dff864f Function bodies and constant values are omitted. This is not the complete implementation. Source line 27 #[derive(Debug, Clone)] pub struct ResumePickerRow { /// Stable id used by the activation handler to identify the /// chosen session (typically the session uuid as a string). pub id: String, /// Primary label (e.g. "clausen — /Users/me/repo"). pub title: String, /// One-line preview (e.g. the first user message, truncated). pub preview: String, /// Right-aligned metadata column (e.g. "12 turns · 3m ago"). pub meta: String } Source line 41 #[derive(Debug, Clone, Default)] pub struct ResumePickerState { } Source line 48 #[must_use] pub fn selected(&self) -> usize; Source line 53 pub fn move_down(&mut self, len: usize); Source line 62 pub fn move_up(&mut self); Source line 67 pub fn reset(&mut self); Source line 75 #[derive(Debug, Clone)] pub struct ResumePicker<'a> { } Source line 85 #[must_use] pub fn new(rows: &'a [ResumePickerRow]) -> Self; Source line 96 #[must_use] pub fn theme(mut self, theme: &'a Theme) -> Self; Source line 103 #[must_use] pub fn title(mut self, title: &'a str) -> Self; Source line 110 #[must_use] pub fn empty_label(mut self, label: &'a str) -> Self;