11 lines
377 B
TypeScript
11 lines
377 B
TypeScript
import * as protobuf from 'protobufjs';
|
|
import { FromObjectValue } from './types';
|
|
export interface Timestamp {
|
|
seconds: number;
|
|
nanos?: number;
|
|
}
|
|
export declare function googleProtobufTimestampToProto3JSON(obj: protobuf.Message & Timestamp): string;
|
|
export declare function googleProtobufTimestampFromProto3JSON(json: string): {
|
|
[key: string]: FromObjectValue;
|
|
};
|