declare module "stdgo/time" { import { Float32, Float64, Int64, Int32, Int16, Int8, Int, Uint64, Uint32, Uint16, Uint8, Uint, Number, NumberLike, Byte, Bytes, Rune, Runes, Float32Slice, Float64Slice, Int64Slice, Int32Slice, Int16Slice, Int8Slice, IntSlice, Uint64Slice, Uint32Slice, Uint16Slice, Uint8Slice, UintSlice, Error, ReadChannel, WriteChannel, Channel, Slice, Map, Uintptr, Native, } from "stdgo/builtin"; const Layout = "01/02 03:04:05PM '06 -0700" // The reference time, in numerical order. const ANSIC = "Mon Jan _2 15:04:05 2006" const UnixDate = "Mon Jan _2 15:04:05 MST 2006" const RubyDate = "Mon Jan 02 15:04:05 -0700 2006" const RFC822 = "02 Jan 06 15:04 MST" const RFC822Z = "02 Jan 06 15:04 -0700" // RFC822 with numeric zone const RFC850 = "Monday, 02-Jan-06 15:04:05 MST" const RFC1123 = "Mon, 02 Jan 2006 15:04:05 MST" const RFC1123Z = "Mon, 02 Jan 2006 15:04:05 -0700" // RFC1123 with numeric zone const RFC3339 = "2006-01-02T15:04:05Z07:00" const RFC3339Nano = "2006-01-02T15:04:05.999999999Z07:00" const Kitchen = "3:04PM" // Handy time stamps. const Stamp = "Jan _2 15:04:05" const StampMilli = "Jan _2 15:04:05.000" const StampMicro = "Jan _2 15:04:05.000000" const StampNano = "Jan _2 15:04:05.000000000" const Nanosecond: Duration const Microsecond: Duration const Millisecond: Duration const Second: Duration const Minute: Duration const Hour: Duration function After(d: Duration | NumberLike): ReadChannel