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