export declare const template = "#!/bin/bash\nset -e\numask 077\ncd \"{{{agentDir:string}}}\"\n{{#hasEnvFile:boolean}}\nset -a\n. \"{{{envFile:string}}}\"\nset +a\n{{/hasEnvFile}}\nLOGFILE=\"{{{logDir:string}}}/$(date +%Y-%m-%dT%H-%M-%S).log\"\nagency run \"{{{agentFile:string}}}\" >> \"$LOGFILE\" 2>&1\n\n# Rotate: keep last 50 logs\ncd \"{{{logDir}}}\"\nls -t *.log 2>/dev/null | tail -n +51 | xargs rm -f 2>/dev/null || true\n";
export type TemplateType = {
    agentDir: string;
    hasEnvFile: boolean;
    envFile: string;
    logDir: string;
    agentFile: string;
};
declare const render: (args: TemplateType) => string;
export default render;
