import { type CSSProperties, type FC } from 'react'; import type { PostextContent, PostextConfig } from '../types.js'; export interface PostextLayoutProps { /** Class of the container `
` the page canvases go into. */ className?: string; /** Inline style of that container. */ style?: CSSProperties; } /** * A React component that lays `content` out once, when it mounts, and shows * every page as a `` inside a `
`. Pages are painted on the main * thread, at the document's resolution, scaled to the container's width. * The math engine is started first when the markdown has a `$`. Load the * document's fonts before the component mounts: text measured with a * fallback font breaks differently. * * For a live editor, lay out in a worker instead (`postext/worker`). */ export declare function createLayout(content: PostextContent, config?: PostextConfig): FC; //# sourceMappingURL=createLayout.d.ts.map