import { IMessageType, MESSAGE_TYPE } from './message-type-contract'; /** * The interface that models storing type in a symbol property. * * Note that this is an experimental feature - it is here to stay, but * implementation details may change without notice. */ export interface MessageTypeContainer { [MESSAGE_TYPE]: IMessageType; } /** * Check if the provided object is a proto message. * * Note that this is an experimental feature - it is here to stay, but * implementation details may change without notice. */ export declare function containsMessageType(msg: T): msg is (T & MessageTypeContainer);