/**
 * N.b. Range start (zero indexed, inclusive) and end (inclusive) - this is
 * different to `Uint8Array.subarray` which is end exclusive.
 */
export declare function rangeToOffsetAndLength(size: bigint | number, start?: number | bigint, end?: number | bigint): {
    offset: number;
    length: number;
};
/**
 * Translate `from:to` zero-indexed inclusive bytes to offset/length
 */
export declare function entityBytesToOffsetAndLength(size: number | bigint, entityBytes?: string | null): {
    offset: number;
    length: number;
};
//# sourceMappingURL=get-offset-and-length.d.ts.map