pub(crate) fn preview(
store: &Store,
path: &str,
trust: &ImportTrust,
) -> Result<Value, String>Expand description
What Import… shows before it opens a file: {name, trusted, windows, closed, tabs: [{name, panes}], commands, notes}, the shape of a layout
preview plus the windows.