epubavocado
Version:
I am an EPUB object model aspiring to be standards compliant.
37 lines (36 loc) • 1.47 kB
TypeScript
import { Entity } from '../mixins/entity.js';
import { Maybe } from '../../util.js';
import { ManifestItem } from './manifest-item.js';
import { SpineItem } from './spine-item.js';
declare const Spine_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 Spine extends Spine_base {
pageProgressionDirection(): Maybe<string>;
toc(): Maybe<ManifestItem>;
itemref({ id, anyProperties, allProperties, onlyProperties, linear, }?: {
id?: string;
anyProperties?: string[];
allProperties?: string[];
onlyProperties?: string[];
linear?: boolean;
}): Maybe<SpineItem>;
itemrefs({ ids, anyProperties, allProperties, onlyProperties, linear, }?: {
ids?: string[];
anyProperties?: string[];
allProperties?: string[];
onlyProperties?: string[];
linear?: boolean;
}): SpineItem[];
}
export {};