summaryrefslogtreecommitdiff
path: root/lib/epub.js/types/utils/replacements.d.ts
blob: 9728ee495f3b0682fd4ffaf4ce1997bf81105d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Section from "../section";
import Contents from "../contents";

export function replaceBase(doc: Document, section: Section): void;

export function replaceCanonical(doc: Document, section: Section): void;

export function replaceMeta(doc: Document, section: Section): void;

export function replaceLinks(contents: Contents, fn: Function): void;

export function substitute(contents: Contents, urls: string[], replacements: string[]): void;