1 | export declare type ParseResponse = {
|
2 | title: string;
|
3 | content: string;
|
4 | thumbnail: string;
|
5 | provider: string;
|
6 | favicon: string;
|
7 | };
|
8 | export interface Cooparser {
|
9 | parse: (url: string) => Promise<ParseResponse>;
|
10 | parseList: (urlList: string[]) => Promise<ParseResponse[]>;
|
11 | }
|