import { Repository, DataSource } from 'typeorm';
import { TemplateContent } from './entities/template_content.entity';
import { CreateTemplateContentDto } from './dto/create-template_content.dto';
import { UpdateTemplateContentDto } from './dto/update-template_content.dto';
export declare class TemplateContentService {
    private readonly templateContentRepository;
    private readonly dataSource;
    constructor(templateContentRepository: Repository<TemplateContent>, dataSource: DataSource);
    create(dto: CreateTemplateContentDto): Promise<TemplateContent>;
    createMany(dtoArray: CreateTemplateContentDto[]): Promise<TemplateContent[]>;
    findAll(templateId?: number): Promise<any[]>;
    findOne(id: number): Promise<TemplateContent>;
    update(id: number, dto: UpdateTemplateContentDto): Promise<TemplateContent>;
    remove(id: number): Promise<{
        message: string;
    }>;
    findByTemplate(templateId: number, title?: string): Promise<TemplateContent[]>;
    getTemplateSchedule(templateId: number): Promise<{
        template_id: number;
        template_title: string;
        templateContent: {
            timeSlot: string;
            items: any[];
        }[];
    }>;
    getTemplateScheduleByTime(templateId: number, startTime: string, endTime: string): Promise<{
        template_id: number;
        template_name: string;
        schedule: {
            [x: string]: {
                id: number;
                title: string;
                content: string;
                startTime: string;
                endTime: string;
                functional_area: string;
            }[];
        };
    }>;
}
