/** * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ export interface RequestChannel { id: string; _requestSignature?: Request; // used only to mark `Request` as "used" _responseSignature?: Response; // used only to mark `Response` as "used" } export type ChannelRequest = Channel extends RequestChannel ? Request : never; export type ChannelResponse = Channel extends RequestChannel ? Response : never;