UNPKG

@readium/navigator

Version:

Next generation SDK for publications in Web Apps

9 lines (8 loc) 444 B
import { IInjectableRule } from "../injection/Injectable.ts"; import { Metadata, Link } from "@readium/shared"; /** * Creates injectable rules for EPUB content documents. * Async so that script-specific Readium CSS stylesheets can be imported * dynamically — only the variant that is actually needed is bundled. */ export declare function createReadiumEpubRules(metadata: Metadata, readingOrderItems: Link[]): Promise<IInjectableRule[]>;