import { Store } from "../store/store.js";
import { type TemplateFunc, type TemplateFuncs, Renderer } from "./renderer.js";
export declare function NewRegistry(): Registry;
export declare class Registry {
    cache: Store<string, Renderer>;
    funcs: TemplateFuncs;
    constructor();
    AddFuncs(funcs: Record<string, TemplateFunc>): Registry;
    LoadFiles(...filenames: string[]): Renderer;
    LoadFilesAsync(...filenames: string[]): Promise<Renderer>;
    LoadString(text: string): Renderer;
    LoadFS(fsys: unknown, ...globPatterns: string[]): Renderer;
    LoadFSAsync(fsys: unknown, ...globPatterns: string[]): Promise<Renderer>;
    private loadFilesInternal;
    private loadFilesInternalAsync;
    private loadFSInternal;
    private loadFSInternalAsync;
}
