UNPKG

r2-shared-js

Version:

Readium 2 'shared' for NodeJS (TypeScript)

9 lines (8 loc) 609 B
import { Publication } from "../models/publication"; import { Link } from "../models/publication-link"; import { IStreamAndLength } from "r2-utils-js/dist/es5/src/_utils/zip/zip"; import { ITransformer } from "./transformer"; export declare class TransformerLCP implements ITransformer { supports(publication: Publication, link: Link): boolean; transformStream(publication: Publication, link: Link, _url: string | undefined, stream: IStreamAndLength, isPartialByteRangeRequest: boolean, partialByteBegin: number, partialByteEnd: number, _sessionInfo: string | undefined): Promise<IStreamAndLength>; }