UNPKG

epubavocado

Version:

I am an EPUB object model aspiring to be standards compliant.

1,127 lines (1,126 loc) 46.8 kB
import { Constructor } from './mixins/constructor.js'; import { Entity } from './mixins/entity.js'; import { Maybe } from '../util.js'; import { ManifestItem } from './package/manifest-item.js'; import { Manifest } from './package/manifest.js'; import { SpineItem } from './package/spine-item.js'; import { Spine } from './package/spine.js'; export { ManifestItem, Manifest, SpineItem, Spine }; declare const Meta_base: { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { property(): Maybe<string>; scheme(): 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { refines(): Entity | null; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { new (...args: any[]): { dir(): Maybe<string>; lang(): 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & { new (...args: any[]): { value(): 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_8>(expression: string, constructor: Constructor<T_8>): Maybe<T_8>; _resolveAll(expression: string): string[]; _resolveAll<T_9>(expression: string, constructor: Constructor<T_9>): T_9[]; }; } & { 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_10>(expression: string, constructor: Constructor<T_10>): Maybe<T_10>; _resolveAll(expression: string): string[]; _resolveAll<T_11>(expression: string, constructor: Constructor<T_11>): T_11[]; }; } & typeof Entity; export declare class Meta extends Meta_base { } declare const Identifier_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { 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_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & typeof Entity; export declare class Identifier extends Identifier_base { identifierType(): Maybe<Meta>; } declare const Title_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { dir(): Maybe<string>; lang(): 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & typeof Entity; export declare class Title extends Title_base { titleType(): Maybe<Meta>; } declare const Language_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { 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_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & typeof Entity; export declare class Language extends Language_base { } declare const Contributor_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { dir(): Maybe<string>; lang(): 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & typeof Entity; export declare class Contributor extends Contributor_base { role(): Maybe<Meta>; } declare const Coverage_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { dir(): Maybe<string>; lang(): 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & typeof Entity; export declare class Coverage extends Coverage_base { } export declare class Creator extends Contributor { } declare const Date_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { 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_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & typeof Entity; export declare class Date extends Date_base { } declare const Description_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { dir(): Maybe<string>; lang(): 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & typeof Entity; export declare class Description extends Description_base { } declare const Format_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { 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_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & typeof Entity; export declare class Format extends Format_base { } declare const Publisher_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { dir(): Maybe<string>; lang(): 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & typeof Entity; export declare class Publisher extends Publisher_base { } declare const Relation_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { dir(): Maybe<string>; lang(): 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & typeof Entity; export declare class Relation extends Relation_base { } declare const Rights_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { dir(): Maybe<string>; lang(): 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & typeof Entity; export declare class Rights extends Rights_base { } export declare class Source extends Identifier { sourceOf(): Maybe<Meta>; } declare const Subject_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { dir(): Maybe<string>; lang(): 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & typeof Entity; export declare class Subject extends Subject_base { authority(): Maybe<Meta>; term(): Maybe<Meta>; } declare const Type_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { 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_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & typeof Entity; export declare class Type extends Type_base { } declare const BelongsToCollection_base: { new (...args: any[]): { value(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { dir(): Maybe<string>; lang(): 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { refines(): Entity | null; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { new (...args: any[]): { property(): Maybe<string>; scheme(): 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & { new (...args: any[]): { _resolveMetaProperty(property: string, constructor?: typeof Meta): Meta; _resolveMetaPropertyList(property: string, constructor?: typeof Meta): Meta[]; alternateScript(): Meta; alternateScripts(): Meta[]; displaySeq(): Meta; fileAs(): Meta; groupPosition(): Meta; metaAuth(): Meta; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_8>(expression: string, constructor: Constructor<T_8>): Maybe<T_8>; _resolveAll(expression: string): string[]; _resolveAll<T_9>(expression: string, constructor: Constructor<T_9>): T_9[]; }; } & { 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_10>(expression: string, constructor: Constructor<T_10>): Maybe<T_10>; _resolveAll(expression: string): string[]; _resolveAll<T_11>(expression: string, constructor: Constructor<T_11>): T_11[]; }; } & typeof Entity; export declare class BelongsToCollection extends BelongsToCollection_base { identifier(): Maybe<Meta>; collectionType(): Maybe<Meta>; belongsToCollection(): Meta; belongsToCollections(): Meta[]; } declare const Link_base: { new (...args: any[]): { href(): Maybe<string>; mediaType(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { new (...args: any[]): { properties(): string[] | undefined; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & { new (...args: any[]): { refines(): Entity | null; _node: Node; _context: Entity; _select(expression: string): Maybe<import("xpath").SelectedValue>; _selectAll(expression: string): import("xpath").SelectedValue[]; _resolve(expression: string): Maybe<string>; _resolve<T_4>(expression: string, constructor: Constructor<T_4>): Maybe<T_4>; _resolveAll(expression: string): string[]; _resolveAll<T_5>(expression: string, constructor: Constructor<T_5>): T_5[]; }; } & { 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_6>(expression: string, constructor: Constructor<T_6>): Maybe<T_6>; _resolveAll(expression: string): string[]; _resolveAll<T_7>(expression: string, constructor: Constructor<T_7>): T_7[]; }; } & typeof Entity; export declare class Link extends Link_base { rel(): Maybe<string>; rels(): string[]; } declare const Metadata_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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & typeof Entity; export declare class Metadata extends Metadata_base { _metaPropertyMap: { [idRefined: string]: { [property: string]: Node[]; }; }; constructor(node: Node, context: Entity); identifier({ id }: { id?: string; }): Maybe<Identifier>; modified(): Maybe<Meta>; title({ id }: { id?: string; }): Title; titles({ ids }: { ids?: string[]; }): Title[]; language({ id }: { id?: string; }): Language; languages({ ids }: { ids?: string[]; }): Language[]; contributor({ id }: { id?: string; }): Contributor; contributors({ ids }: { ids?: string[]; }): Contributor[]; coverage({ id }: { id?: string; }): Coverage; coverages({ ids }: { ids?: string[]; }): Coverage[]; creator({ id }: { id?: string; }): Creator; creators({ ids }: { ids?: string[]; }): Creator[]; date({ id }: { id?: string; }): Maybe<Date>; description({ id }: { id?: string; }): Description; descriptions({ ids }: { ids?: string[]; }): Description[]; format({ id }: { id?: string; }): Format; formats({ ids }: { ids?: string[]; }): Format[]; publisher({ id }: { id?: string; }): Publisher; publishers({ ids }: { ids?: string[]; }): Publisher[]; relation({ id }: { id?: string; }): Relation; relations({ ids }: { ids?: string[]; }): Relation[]; rights({ id }: { id?: string; }): Rights; rightses({ ids }: { ids?: string[]; }): Rights[]; source({ id }: { id?: string; }): Source; sources({ ids }: { ids?: string[]; }): Source[]; subject({ id }: { id?: string; }): Subject; subjects({ ids }: { ids?: string[]; }): Subject[]; type({ id }: { id?: string; }): Type; types({ ids }: { ids?: string[]; }): Type[]; belongsToCollection({ id }: { id?: string; }): BelongsToCollection; belongsToCollections({ ids, }?: { ids?: string[]; }): BelongsToCollection[]; meta({ id, property, refines, }?: { id?: string; property?: string; refines?: string; }): Maybe<Meta>; metas({ ids, property, refines, }?: { ids?: string[]; property?: string; refines?: string; }): Meta[]; link({ id, href, anyProperties, allProperties, onlyProperties, anyRel, allRel, onlyRel, }?: { id?: string; href?: string; anyProperties?: string[]; allProperties?: string[]; onlyProperties?: string[]; anyRel?: string[]; allRel?: string[]; onlyRel?: string[]; }): Maybe<Link>; links(args?: { ids?: string[]; href?: string; anyProperties?: string[]; allProperties?: string[]; onlyProperties?: string[]; anyRel?: string[]; allRel?: string[]; onlyRel?: string[]; }): Link[]; } declare const Package_base: { new (...args: any[]): { dir(): Maybe<string>; lang(): 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: Constructor<T>): Maybe<T>; _resolveAll(expression: string): string[]; _resolveAll<T_1>(expression: string, constructor: Constructor<T_1>): T_1[]; }; } & { 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_2>(expression: string, constructor: Constructor<T_2>): Maybe<T_2>; _resolveAll(expression: string): string[]; _resolveAll<T_3>(expression: string, constructor: Constructor<T_3>): T_3[]; }; } & typeof Entity; export declare class Package extends Package_base { private _metadata; private _spine; private _manifest; constructor(doc: Node); version(): Maybe<string>; uniqueIdentifier(): Maybe<Identifier>; releaseIdentifier(): Maybe<string>; metadata(): Maybe<Metadata>; spine(): Maybe<Spine>; manifest(): Maybe<Manifest>; }