import { TemplateContext, TemplateRenderResult } from "../types";
/**
 * render a file with react. This function automatically transforms jsx to js before importing the component.
 *
 * @param filepath the path to file to render
 */
export declare function renderTemplate(filepath: string, context: TemplateContext): Promise<TemplateRenderResult[] | TemplateRenderResult | undefined>;
