epubavocado
Version:
I am an EPUB object model aspiring to be standards compliant.
23 lines (22 loc) • 517 B
TypeScript
import { SelectedValue } from 'xpath';
import { Maybe } from './util.js';
export declare const namespaceMap: {
xml: string;
opf: string;
dc: string;
ocf: string;
};
export declare const selectAll: import("xpath").XPathSelect;
export declare const select: (expression: string, node: Node) => Maybe<SelectedValue>;
/**
* inverse of `namespaceMap`
* ```
* {
* 'http://www.idpf.org/2007/opf': 'opf',
* ...
* }
* ```
*/
export declare const prefixMap: {
[namespace: string]: string;
};