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;
            icon: string | null;
            created_at: Date;
            updated_at: Date;
            slug: string;
            is_template: boolean;
        };
        dashboard_component: {
            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;
    }>;
    deleteDashboardItem(id: number, locale: string): Promise<{
        success: boolean;
    }>;
}
//# sourceMappingURL=dashboard-item.controller.d.ts.map