import { TemplateService } from './template.service';
import { CreateTemplateDto } from './dto/create-template.dto';
import { UpdateTemplateDto } from './dto/update-template.dto';
import { AuditStageName } from './entities/template.entity';
export declare class TemplateController {
    private readonly templateService;
    constructor(templateService: TemplateService);
    create(dto: CreateTemplateDto): Promise<import("./entities/template.entity").Template>;
    findAll(stage?: AuditStageName): Promise<{
        url: string;
        id: number;
        name: string;
        stageName: AuditStageName;
        templateType: import("./entities/template.entity").TemplateType;
        version: string;
        filePath: string;
        isActive: boolean;
        createdBy: number;
        contents: import("../template_contents/entities/template_content.entity").TemplateContent[];
        jobs: import("../jobs/entities/job.entity").Job[];
        createdAt: Date;
        updatedAt: Date;
    }[]>;
    findOne(id: number): Promise<import("./entities/template.entity").Template | null>;
    update(id: number, dto: UpdateTemplateDto): Promise<import("./entities/template.entity").Template>;
    remove(id: number): Promise<{
        message: string;
    }>;
    findByNameAndStage(name: string, stageName: AuditStageName, version?: string): Promise<import("./entities/template.entity").Template | null>;
}
