export default Archive; /** * Handles Unzipping a requesting files from an Epub Archive * @extends {Input} */ declare class Archive extends Input { /** * Create JSZip instance */ createInstance(): void; /** * Open an archive * @param {string|ArrayBuffer} input * @param {string} [encoding] tells JSZip if the input data is base64 encoded * @returns {Promise} zipfile */ open(input: string | ArrayBuffer, encoding?: string): Promise; /** * Clear the JSZip.files to empty */ clear(): void; /** * Load and Open an archive * @param {string} zipUrl * @param {boolean} [isBase64] tells JSZip if the input data is base64 encoded * @returns {Promise} zipfile */ openUrl(zipUrl: string, isBase64?: boolean): Promise; /** * Get entry from Archive * @param {string} url * @returns {object} entry * @example archive.get("META-INF/container.xml") */ get(url: string): object; /** * Get Text from Archive by URL * @param {string} url * @returns {Promise} * @override */ override getText(url: string): Promise; } import Input from "./input";