import type { MessageShape } from "./types.js"; import type { DescMessage } from "./descriptors.js"; /** * Determine whether the given `arg` is a message. * If `desc` is set, determine whether `arg` is this specific message. */ export declare function isMessage(arg: unknown, schema?: Desc): arg is MessageShape;