calculateEffectiveBoundaries.d.ts 538 B

12345678910111213141516
  1. import '../_version.js';
  2. /**
  3. * @param {Blob} blob A source blob.
  4. * @param {number} [start] The offset to use as the start of the
  5. * slice.
  6. * @param {number} [end] The offset to use as the end of the slice.
  7. * @return {Object} An object with `start` and `end` properties, reflecting
  8. * the effective boundaries to use given the size of the blob.
  9. *
  10. * @private
  11. */
  12. declare function calculateEffectiveBoundaries(blob: Blob, start?: number, end?: number): {
  13. start: number;
  14. end: number;
  15. };
  16. export { calculateEffectiveBoundaries };