1 | import { AtomCategory, AtomContent, AtomLink, AtomPerson, AtomText, AtomTextType } from './AtomCommon';
|
2 | import { AtomEntry, AtomSource } from './AtomEntry';
|
3 | import { AtomFeed } from './AtomFeed';
|
4 |
|
5 | export declare function parseAtomFeed(data: string): AtomFeed;
|
6 | export declare function parseAtomEntry(entry: Element): AtomEntry;
|
7 |
|
8 | export declare function safelyDecodeAtomText(type: AtomTextType, element: Element | undefined): string;
|
9 |
|
10 | export declare function sanitizeTextContent(element: Element | undefined): string | undefined;
|
11 |
|
12 | export declare function sanitizeTextAttribute<T = string>(element: Element | undefined, attributeName: string): T | undefined;
|
13 | export declare function parseAtomContent(content: Element | undefined): AtomContent;
|
14 | export declare function parseAtomText(text: Element | undefined): AtomText;
|
15 | export declare function parseAtomPerson(person: Element): AtomPerson;
|
16 | export declare function parseAtomLink(link: Element): AtomLink;
|
17 | export declare function parseAtomCategory(category: Element): AtomCategory;
|
18 | export declare function parseAtomSource(source: Element | undefined): AtomSource | undefined;
|