@argdown/node
Version:
Async Argdown application for node.js
12 lines (11 loc) • 380 B
TypeScript
import { IAsyncArgdownPlugin, IAsyncRequestHandler } from "../IAsyncArgdownPlugin.js";
interface ISizeCalculationResult {
width?: number;
height?: number;
}
export declare class ImageSizePlugin implements IAsyncArgdownPlugin {
name: string;
runAsync: IAsyncRequestHandler;
getSizeFromRemoteFile: (path: string) => Promise<ISizeCalculationResult>;
}
export {};