This commit is contained in:
2026-03-03 15:23:00 +00:00
parent 5e3726de39
commit 8e223bfbec
3689 changed files with 955330 additions and 1011 deletions

41
node_modules/@hapi/ammo/lib/index.d.ts generated vendored Executable file
View File

@@ -0,0 +1,41 @@
/// <reference types="node" />
import * as Stream from 'stream';
/**
* Parses an HTTP Range header.
*
* @param header - the HTTP Range header.
* @param length - the payload length.
*
* @returns an array of range objects.
*/
export function header(header: string, length: number): null | Range[];
/**
* A transform stream taking full payload and returning the requested range.
*/
export class Clip extends Stream.Transform {
/**
* Constructs a new transform steam.
*
* @param range - the requested range.
*/
constructor(range: Range);
}
export interface Range {
/**
* The range start position (inclusive).
*/
readonly from: number;
/**
* The range end position (inclusive).
*/
readonly to: number;
}