methodRedisClient.ttlttl(key: KeyLike): Promise<number>;Get the time to live for a key in seconds@param keyThe key to get the TTL for@returnsPromise that resolves with the TTL, -1 if no expiry, or -2 if key doesn't existReferenced typestype KeyLike = string | ArrayBufferView | Blob