/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import { protoToDate } from "@vertexvis/stream-api";
import { Mapper as M, UUID } from "@vertexvis/utils";
export const fromPbUuid2l = M.defineMapper(M.read(M.requiredProp('msb'), M.requiredProp('lsb')), ([msb, lsb]) => UUID.fromMsbLsb(msb, lsb));
export const fromPbTimestamp = M.defineMapper(M.read(M.requiredProp('seconds'), M.requiredProp('nanos')), ([seconds, nanos]) => protoToDate({ seconds, nanos }));
export const fromPbInstant = M.defineMapper(M.read(M.requiredProp('iso')), ([iso]) => new Date(iso));
//# sourceMappingURL=corePb.js.map
