import type { ImageSize, RenderArticleOptions } from 'ts-medium-editor/article'; export type { EmbedProvider, ImageSize, RenderArticleOptions } from 'ts-medium-editor/article'; /** * Width and height from an image file's header, without decoding it. Covers * PNG, JPEG, GIF, WebP and AVIF, which is every format a blog serves. */ export declare function imageSize(bytes: Uint8Array): ImageSize | null; /** * Resolves `/images/…` style paths against the public directory and reads * their size. Remote URLs, and anything that would escape the directory, * resolve to null. Cached per file until it changes. */ export declare function publicImageResolver(publicDir?: string): (src: string) => ImageSize | null; /** A rendered post body with figures, grids, zoom and embeds. */ export declare function renderPostHtml(html: string, options?: RenderPostOptions): string; /** The article stylesheet, as CSS text. */ export declare function articleCss(): string; /** A `