import _m0 from "protobufjs/minimal"; export declare const protobufPackage = "proto"; /** * An exact date and time. This is the same data structure as the protobuf Timestamp.proto (see the * comments in https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto) */ export interface Timestamp { /** Number of complete seconds since the start of the epoch */ seconds: number; /** Number of nanoseconds since the start of the last second */ nanos: number; } /** An exact date and time, with a resolution of one second (no nanoseconds). */ export interface TimestampSeconds { /** Number of complete seconds since the start of the epoch */ seconds: number; } export declare const Timestamp: { encode(message: Timestamp, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp; fromJSON(object: any): Timestamp; toJSON(message: Timestamp): unknown; create(base?: DeepPartial): Timestamp; fromPartial(object: DeepPartial): Timestamp; }; export declare const TimestampSeconds: { encode(message: TimestampSeconds, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TimestampSeconds; fromJSON(object: any): TimestampSeconds; toJSON(message: TimestampSeconds): unknown; create(base?: DeepPartial): TimestampSeconds; fromPartial(object: DeepPartial): TimestampSeconds; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends { $case: string; } ? { [K in keyof Omit]?: DeepPartial; } & { $case: T["$case"]; } : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {}; //# sourceMappingURL=timestamp.d.ts.map