import type TemplateFile from './template-file.ts';
export default class TemplateData {
    private readonly _templateFile;
    private readonly _defaultData;
    private _sections;
    constructor(templateFile: TemplateFile, defaultData?: {});
    registerSections(sections: Record<string, number>): void;
    renderSection(section: string, fragmentData: any, suffix?: string): unknown;
    /**
     * Render fragments using default join and suffix.
     */
    render(fragmentData?: {
        join?: string;
        section?: string;
    }, suffix?: string): string;
    /**
     * Proxy to renderFragments for templates.
     */
    renderFragments(fragmentData?: {
        fragment?: any;
        section?: string;
    }): string[];
}
