Defines the method signature for the callback to the
beforeDetach interceptor. Returning false from this method prevents the connection from being detached. The interceptor is fired by the core, meaning that it will be invoked regardless of whether the detach occurred programmatically, or via the mouse.
export declare type BeforeConnectionDetachInterceptor = (c: Connection) => boolean;