import type { Build } from "../..";
export type TemplatingArgs = {
    template?: boolean | 'all' | 'text' | 'code';
    templateVars?: boolean;
    templateConditions?: boolean;
};
export type TemplatingConfig = {
    template: {
        enabled: boolean;
        keepNotVar: boolean;
        legacyConditions: boolean;
        scopes: {
            text: boolean;
            code: boolean;
        };
        features: {
            substitutions: boolean;
            conditions: boolean;
            cycles: boolean;
        };
    };
};
export type TemplatingRawConfig = {
    template: boolean | DeepPartial<TemplatingConfig['template']>;
};
export declare class Templating {
    apply(program: Build): void;
    /**
     * Clean up directories that contain only presets.yaml files (no other content)
     * This removes directories where TOC files were ignored by stage filtering
     */
    private cleanupEmptyDirectories;
}
