import { Alignment, Page, UserPreferences, RASMeta, RASDoc } from "../index.d"; export declare const USER_PREFERENCE_STORAGE_ID = "RAUserPreferences"; export declare const USER_PREFERENCE_VERSION = "0.1"; /** * Return a zipped array of arrays * @param {array[]} arrays */ export declare function zip(arrays: any): Array; export declare function isIOS(): boolean; /** * Return pages from readalong XML file * @param {string} - the path to the readalong file */ export declare function parseRAS(path: string): Promise; /** * Return pages from parsed XML * @param {xml} - the parsed XML (could be an element) */ export declare function extractPages(xml: Document | Element): Array; /** * * @param {xml} - the parsed XML * @returns {RASMeta} - meta key-values */ export declare function extractMeta(xml: Document | Element): RASMeta; /** * Extract alignment data from parsed text */ export declare function extractAlignment(parsed_text: Array): Alignment; /** * Sprite class containing the state of our sprites to play and their progress. * @param {Object} options Settings to pass into and setup the sound and visuals. */ export declare var Sprite: (options: any) => void; export declare function isFileAvailable(url: any): Promise; export declare const getUserPreferences: () => UserPreferences | null; export declare const setUserPreferences: (userPref: UserPreferences) => void; export declare const hasUserPreferences: () => boolean; export declare const clearUserPreferences: () => void; export declare const sentenceIsAligned: (sentence: Element) => boolean;