import { DashboardItemService } from './dashboard-item.service';
import { CreateDashboardItemDTO } from './dto';
export declare class DashboardItemController {
    private readonly dashboardItemService;
    constructor(dashboardItemService: DashboardItemService);
    getAllDashboardItems(paginationParams: any, locale: string, dashboardId?: string): Promise<{
        total: any;
        lastPage: number;
        page: number;
        pageSize: number;
        prev: number;
        next: number;
        data: any[];
    }>;
    createDashboardItem(data: CreateDashboardItemDTO, locale: string): Promise<{
        dashboard: {
            id: number;
            created_at: Date;
            updated_at: Date;
            slug: string;
            icon: string | null;
            is_template: boolean;
        };
        dashboard_component: {
            width: number;
            id: 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;
            height: number;
            is_resizable: boolean;
        };
    } & {
        width: number;
        id: number;
        created_at: Date;
        updated_at: Date;
        height: number;
        component_id: number;
        dashboard_id: number;
        x_axis: number;
        y_axis: number;
    }>;
    deleteDashboardItem(id: number, locale: string): Promise<{
        success: boolean;
    }>;
}
//# sourceMappingURL=dashboard-item.controller.d.ts.map