import type { Html5PlayerCache, YT_StreamingAdaptiveFormat } from '../types'; import type { YTDL_DecipherFunction, YTDL_NTransformFunction } from '../types/Html5Player'; declare class Signature { decipherFunction: YTDL_DecipherFunction | null; nTransformFunction: YTDL_NTransformFunction | null; static getSignatureTimestamp(body?: string): string; decipherFormat(format: YT_StreamingAdaptiveFormat): YT_StreamingAdaptiveFormat; decipherFormats(formats: Array): Record; getDecipherFunctions({ id, body }: Html5PlayerCache): Promise; getNTransform({ id, body }: Html5PlayerCache): Promise; } export { Signature };