import { type PDF } from '../util/Doc.js';
export type DocComponent<P> = (props: P) => (doc: PDF) => Promise<void> | void;
export type Component = (doc: PDF) => Promise<void> | void;
export declare function renderComponent(doc: PDF, c: Component): Promise<void>;
