notion-page-to-html
Version:
It converts public notion pages to html from url
11 lines (10 loc) • 385 B
TypeScript
import { Block } from '../../protocols/blocks';
import { ImageCover } from '../../protocols/page-props';
export declare class PageBlockToCoverImageSource {
private readonly _pageBlock;
constructor(pageBlock: Block);
toImageCover(): Promise<ImageCover | null>;
private _isImageURL;
private getImageAuthenticatedSrc;
private _pageCoverPositionToPositionCenter;
}