import { NewsService } from './news.service';
export declare class NewsController {
    private newsService;
    constructor(newsService: NewsService);
    findAll(): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        slug: string;
        title: string;
        excerpt: string | null;
        content: string;
        featuredImage: string | null;
        status: import(".prisma/client").$Enums.NewsStatus;
        publishedAt: Date | null;
    }[]>;
    findLatest(limit: string): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        slug: string;
        title: string;
        excerpt: string | null;
        content: string;
        featuredImage: string | null;
        status: import(".prisma/client").$Enums.NewsStatus;
        publishedAt: Date | null;
    }[]>;
    findBySlug(slug: string): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        slug: string;
        title: string;
        excerpt: string | null;
        content: string;
        featuredImage: string | null;
        status: import(".prisma/client").$Enums.NewsStatus;
        publishedAt: Date | null;
    }>;
    adminFindAll(): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        slug: string;
        title: string;
        excerpt: string | null;
        content: string;
        featuredImage: string | null;
        status: import(".prisma/client").$Enums.NewsStatus;
        publishedAt: Date | null;
    }[]>;
    create(data: {
        title: string;
        content: string;
        excerpt?: string;
        featuredImage?: string;
        status?: any;
        publishedAt?: string;
    }): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        slug: string;
        title: string;
        excerpt: string | null;
        content: string;
        featuredImage: string | null;
        status: import(".prisma/client").$Enums.NewsStatus;
        publishedAt: Date | null;
    }>;
    update(id: string, data: {
        title?: string;
        content?: string;
        excerpt?: string;
        featuredImage?: string;
        status?: any;
        publishedAt?: string;
    }): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        slug: string;
        title: string;
        excerpt: string | null;
        content: string;
        featuredImage: string | null;
        status: import(".prisma/client").$Enums.NewsStatus;
        publishedAt: Date | null;
    }>;
    remove(id: string): Promise<{
        id: number;
        createdAt: Date;
        updatedAt: Date;
        slug: string;
        title: string;
        excerpt: string | null;
        content: string;
        featuredImage: string | null;
        status: import(".prisma/client").$Enums.NewsStatus;
        publishedAt: Date | null;
    }>;
}
