import { DashboardService } from './dashboard.service';
import { CreateDashboardDTO, UpdateDashboardDTO } from './dto';
export declare class DashboardController {
    private readonly dashboardService;
    constructor(dashboardService: DashboardService);
    getAllDashboards(paginationParams: any): Promise<{
        total: any;
        lastPage: number;
        page: number;
        pageSize: number;
        prev: number;
        next: number;
        data: any[];
    }>;
    getDashboard(id: number, locale: string): Promise<{
        dashboard_item: ({
            dashboard_component: {
                dashboard_component_locale: ({
                    locale: {
                        code: string;
                        name: string;
                        id: number;
                        region: string;
                        enabled: boolean;
                        created_at: Date;
                        updated_at: Date;
                    };
                } & {
                    name: string;
                    id: number;
                    description: string;
                    created_at: Date;
                    updated_at: Date;
                    locale_id: number;
                    dashboard_component_id: number;
                })[];
            } & {
                id: number;
                height: number;
                width: number;
                created_at: Date;
                updated_at: Date;
                slug: string;
                library_slug: string;
                min_width: number;
                max_width: number | null;
                min_height: number;
                max_height: number | null;
                is_resizable: boolean;
            };
        } & {
            id: number;
            height: number;
            width: number;
            created_at: Date;
            updated_at: Date;
            component_id: number;
            dashboard_id: number;
            x_axis: number;
            y_axis: number;
        })[];
        dashboard_locale: ({
            locale: {
                code: string;
                name: string;
                id: number;
                region: string;
                enabled: boolean;
                created_at: Date;
                updated_at: Date;
            };
        } & {
            name: string;
            id: number;
            created_at: Date;
            updated_at: Date;
            locale_id: number;
            dashboard_id: number;
        })[];
        dashboard_role: ({
            role: {
                role_locale: ({
                    locale: {
                        code: string;
                        name: string;
                        id: number;
                        region: string;
                        enabled: boolean;
                        created_at: Date;
                        updated_at: Date;
                    };
                } & {
                    name: string;
                    id: number;
                    description: string | null;
                    created_at: Date;
                    updated_at: Date;
                    locale_id: number;
                    role_id: number;
                })[];
            } & {
                id: number;
                created_at: Date;
                updated_at: Date;
                slug: string;
            };
        } & {
            id: number;
            created_at: Date;
            updated_at: Date;
            role_id: number;
            dashboard_id: number;
        })[];
    } & {
        id: number;
        icon: string | null;
        created_at: Date;
        updated_at: Date;
        slug: string;
        is_template: boolean;
    }>;
    createDashboard(data: CreateDashboardDTO, locale: string): Promise<{
        dashboard_item: ({
            dashboard_component: {
                dashboard_component_locale: ({
                    locale: {
                        code: string;
                        name: string;
                        id: number;
                        region: string;
                        enabled: boolean;
                        created_at: Date;
                        updated_at: Date;
                    };
                } & {
                    name: string;
                    id: number;
                    description: string;
                    created_at: Date;
                    updated_at: Date;
                    locale_id: number;
                    dashboard_component_id: number;
                })[];
            } & {
                id: number;
                height: number;
                width: number;
                created_at: Date;
                updated_at: Date;
                slug: string;
                library_slug: string;
                min_width: number;
                max_width: number | null;
                min_height: number;
                max_height: number | null;
                is_resizable: boolean;
            };
        } & {
            id: number;
            height: number;
            width: number;
            created_at: Date;
            updated_at: Date;
            component_id: number;
            dashboard_id: number;
            x_axis: number;
            y_axis: number;
        })[];
        dashboard_locale: ({
            locale: {
                code: string;
                name: string;
                id: number;
                region: string;
                enabled: boolean;
                created_at: Date;
                updated_at: Date;
            };
        } & {
            name: string;
            id: number;
            created_at: Date;
            updated_at: Date;
            locale_id: number;
            dashboard_id: number;
        })[];
        dashboard_role: ({
            role: {
                role_locale: ({
                    locale: {
                        code: string;
                        name: string;
                        id: number;
                        region: string;
                        enabled: boolean;
                        created_at: Date;
                        updated_at: Date;
                    };
                } & {
                    name: string;
                    id: number;
                    description: string | null;
                    created_at: Date;
                    updated_at: Date;
                    locale_id: number;
                    role_id: number;
                })[];
            } & {
                id: number;
                created_at: Date;
                updated_at: Date;
                slug: string;
            };
        } & {
            id: number;
            created_at: Date;
            updated_at: Date;
            role_id: number;
            dashboard_id: number;
        })[];
    } & {
        id: number;
        icon: string | null;
        created_at: Date;
        updated_at: Date;
        slug: string;
        is_template: boolean;
    }>;
    updateDashboard(id: number, data: UpdateDashboardDTO, locale: string): Promise<{
        dashboard_item: ({
            dashboard_component: {
                dashboard_component_locale: ({
                    locale: {
                        code: string;
                        name: string;
                        id: number;
                        region: string;
                        enabled: boolean;
                        created_at: Date;
                        updated_at: Date;
                    };
                } & {
                    name: string;
                    id: number;
                    description: string;
                    created_at: Date;
                    updated_at: Date;
                    locale_id: number;
                    dashboard_component_id: number;
                })[];
            } & {
                id: number;
                height: number;
                width: number;
                created_at: Date;
                updated_at: Date;
                slug: string;
                library_slug: string;
                min_width: number;
                max_width: number | null;
                min_height: number;
                max_height: number | null;
                is_resizable: boolean;
            };
        } & {
            id: number;
            height: number;
            width: number;
            created_at: Date;
            updated_at: Date;
            component_id: number;
            dashboard_id: number;
            x_axis: number;
            y_axis: number;
        })[];
        dashboard_locale: ({
            locale: {
                code: string;
                name: string;
                id: number;
                region: string;
                enabled: boolean;
                created_at: Date;
                updated_at: Date;
            };
        } & {
            name: string;
            id: number;
            created_at: Date;
            updated_at: Date;
            locale_id: number;
            dashboard_id: number;
        })[];
        dashboard_role: ({
            role: {
                role_locale: ({
                    locale: {
                        code: string;
                        name: string;
                        id: number;
                        region: string;
                        enabled: boolean;
                        created_at: Date;
                        updated_at: Date;
                    };
                } & {
                    name: string;
                    id: number;
                    description: string | null;
                    created_at: Date;
                    updated_at: Date;
                    locale_id: number;
                    role_id: number;
                })[];
            } & {
                id: number;
                created_at: Date;
                updated_at: Date;
                slug: string;
            };
        } & {
            id: number;
            created_at: Date;
            updated_at: Date;
            role_id: number;
            dashboard_id: number;
        })[];
    } & {
        id: number;
        icon: string | null;
        created_at: Date;
        updated_at: Date;
        slug: string;
        is_template: boolean;
    }>;
    deleteDashboard(id: number, locale: string): Promise<{
        success: boolean;
    }>;
}
//# sourceMappingURL=dashboard.controller.d.ts.map