UNPKG

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