wechaty-puppet-service
Version:
Puppet Service for Wechaty
8 lines • 478 B
TypeScript
import { Timestamp } from 'wechaty-grpc';
/**
* https://github.com/protocolbuffers/protobuf/blob/b6993a90605cde15ba004e0287bcb078b0f3959d/src/google/protobuf/timestamp.proto#L86-L91
*/
declare function timestampFromMilliseconds(milliseconds: number): Timestamp;
declare function millisecondsFromTimestamp(timestamp: ReturnType<typeof timestampFromMilliseconds>): number;
export { millisecondsFromTimestamp, timestampFromMilliseconds, };
//# sourceMappingURL=timestamp.d.ts.map