epubavocado
Version:
I am an EPUB object model aspiring to be standards compliant.
16 lines (15 loc) • 908 B
TypeScript
import type { EntityConstructor } from './entity.js';
export declare function Resource<TBase extends EntityConstructor>(Base: TBase): {
new (...args: any[]): {
href(): import("../../util.js").Maybe<string>;
mediaType(): import("../../util.js").Maybe<string>;
_node: Node;
_context: import("./entity.js").Entity;
_select(expression: string): import("../../util.js").Maybe<import("xpath").SelectedValue>;
_selectAll(expression: string): import("xpath").SelectedValue[];
_resolve(expression: string): import("../../util.js").Maybe<string>;
_resolve<T>(expression: string, constructor: import("./constructor.js").Constructor<T>): import("../../util.js").Maybe<T>;
_resolveAll(expression: string): string[];
_resolveAll<T_1>(expression: string, constructor: import("./constructor.js").Constructor<T_1>): T_1[];
};
} & TBase;