import { LocaleService } from '@hed-hog/api-locale';
import { PaginationService } from '@hed-hog/api-pagination';
import { PrismaService } from '@hed-hog/api-prisma';
import { CreateDashboardItemDTO } from './dto';
export declare class DashboardItemService {
    private readonly prismaService;
    private readonly paginationService;
    private readonly localeService;
    constructor(prismaService: PrismaService, paginationService: PaginationService, localeService: LocaleService);
    getAllDashboardItems(paginationParams: any, locale: string, dashboardId?: number): 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.service.d.ts.map