import { AnnouncementsService } from './announcements.service';
export declare class AnnouncementsController {
    private announcementsService;
    constructor(announcementsService: AnnouncementsService);
    findAll(): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        title: string;
        content: string;
        startDate: Date;
        endDate: Date;
    }[]>;
    adminFindAll(): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        title: string;
        content: string;
        startDate: Date;
        endDate: Date;
    }[]>;
    create(data: {
        title: string;
        content: string;
        startDate: string;
        endDate: string;
    }): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        title: string;
        content: string;
        startDate: Date;
        endDate: Date;
    }>;
    update(id: string, data: {
        title?: string;
        content?: string;
        startDate?: string;
        endDate?: string;
    }): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        title: string;
        content: string;
        startDate: Date;
        endDate: Date;
    }>;
    remove(id: string): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        title: string;
        content: string;
        startDate: Date;
        endDate: Date;
    }>;
}
