/** * Validate that a number is within range * @param value - Number to validate * @param min - Minimum value (inclusive) * @param max - Maximum value (inclusive) * @param name - Name for error message * @throws Error if value is out of range */ export declare function validateRange(value: number, min: number, max: number, name?: string): void; /** * Find index of separator byte in array * @param bytes - Bytes to search * @param separator - Byte to find (default: 0xff) * @returns Index of separator, or -1 if not found */ export declare function findSeparator(bytes: Uint8Array, separator?: number): number; /** * Split bytes at separator * @param bytes - Bytes to split * @param separator - Byte to split on (default: 0xff) * @returns Array of byte segments */ export declare function splitBytes(bytes: Uint8Array, separator?: number): Uint8Array[]; //# sourceMappingURL=index.d.ts.map