epubavocado
Version:
I am an EPUB object model aspiring to be standards compliant.
34 lines (33 loc) • 1.35 kB
TypeScript
import { Entity } from '../mixins/entity.js';
import { Maybe } from '../../util.js';
import { ManifestItem } from './manifest-item.js';
declare const Manifest_base: {
new (...args: any[]): {
id(): Maybe<string>;
_node: Node;
_context: Entity;
_select(expression: string): Maybe<import("xpath").SelectedValue>;
_selectAll(expression: string): import("xpath").SelectedValue[];
_resolve(expression: string): Maybe<string>;
_resolve<T>(expression: string, constructor: import("../mixins/constructor.js").Constructor<T>): Maybe<T>;
_resolveAll(expression: string): string[];
_resolveAll<T_1>(expression: string, constructor: import("../mixins/constructor.js").Constructor<T_1>): T_1[];
};
} & typeof Entity;
export declare class Manifest extends Manifest_base {
item({ id, href, anyProperties, allProperties, onlyProperties, }?: {
id?: string;
href?: string;
anyProperties?: string[];
allProperties?: string[];
onlyProperties?: string[];
}): Maybe<ManifestItem>;
items({ ids, href, anyProperties, allProperties, onlyProperties, }?: {
ids?: string[];
href?: string;
anyProperties?: string[];
allProperties?: string[];
onlyProperties?: string[];
}): ManifestItem[];
}
export {};