1 | import { Author, Extension, FeedOptions, Item } from "./typings";
|
2 | export { Author, Extension, FeedOptions, Item };
|
3 | export declare class Feed {
|
4 | options: FeedOptions;
|
5 | items: Item[];
|
6 | categories: string[];
|
7 | contributors: Author[];
|
8 | extensions: Extension[];
|
9 | constructor(options: FeedOptions);
|
10 | addItem: (item: Item) => number;
|
11 | addCategory: (category: string) => number;
|
12 | addContributor: (contributor: Author) => number;
|
13 | addExtension: (extension: Extension) => number;
|
14 | atom1: () => string;
|
15 | rss2: () => string;
|
16 | json1: () => string;
|
17 | }
|