forked from fdzcxy212206413/gsl_grs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
765 B
16 lines
765 B
import type { Message } from "../types.js";
|
|
import type { BoolValue, BytesValue, DoubleValue, FloatValue, Int32Value, Int64Value, StringValue, UInt32Value, UInt64Value } from "./gen/google/protobuf/wrappers_pb.js";
|
|
import type { DescField, DescMessage } from "../descriptors.js";
|
|
export declare function isWrapper(arg: Message): arg is DoubleValue | FloatValue | Int64Value | UInt64Value | Int32Value | UInt32Value | BoolValue | StringValue | BytesValue;
|
|
export type WktWrapperDesc = DescMessage & {
|
|
fields: [
|
|
DescField & {
|
|
fieldKind: "scalar";
|
|
number: 1;
|
|
name: "value";
|
|
oneof: undefined;
|
|
}
|
|
];
|
|
};
|
|
export declare function isWrapperDesc(messageDesc: DescMessage): messageDesc is WktWrapperDesc;
|