pub(all) suberror TransportError {
Invalid(String)
}pub(all) struct Expected {
invocation : String
project_scope : String
release : String
policy_sha256 : String
lock_sha256 : String
}pub struct Snapshot {
// private fields
}fn admit_capabilities(bytes : Bytes, invocation : String, project_scope : String) -> Unit raisefn capabilities_request(invocation : String, project_scope : String) -> Bytes raisefn snapshot_request(expected : Expected, policy : Bytes, lock : Bytes, registry : String, state : String, output : String) -> Bytes raise