UNPKG

anime-info

Version:

Plugin intended to collect informing of anime characters through the fandow wiki

16 lines (15 loc) 1.23 kB
import { GenericPhoto } from '../models/GenericsPhoto'; export declare function removeSquareBrackets(value: string | null): string | null; export declare function removeSpacesString(value: string | null): string | null; export declare function stripHTML(value: string | null): string | null; export declare function cleanString(value: string | null): string | null; export declare function getTextContent(element: Element | null): string | null; export declare function getDom(url: string): Promise<Document>; export declare function $Query(document: Document, tag: string): string | null; export declare function getInnerHTML(element: HTMLElement | null): string | null; export declare function getAndRemoveTagBr(document: Document, tag: string): string[]; export declare function getImage(document: Document, tag: string): string | null; export declare function getNameAndAllImageCharacter(document: Document, tag: string): GenericPhoto[]; export declare function getListElement(document: Document, tag: string, innerHtml?: boolean): string[]; export declare function getNameAndImage(document: Document, tag: string): GenericPhoto[]; export declare function getNameAndImageOnly(document: Document, tag: string): GenericPhoto[];