UNPKG

poststore

Version:

PostStore can be used with NEXT.JS to create markdown-based blogs.

7 lines (6 loc) 356 B
import { PostStoreAsset, FileNode } from '../typings'; export declare const copyAssetsTo: (publicDir: string, imageMaxWidth?: number) => (assetList: PostStoreAsset[]) => Promise<{ fulfilled: ("rejected" | "fulfilled")[]; rejected: ("rejected" | "fulfilled")[]; }>; export declare const getAssetList: (rootNode: FileNode) => PostStoreAsset[];