import { Prisma } from '@prisma/client';
import type { CreatePageBlockInput, UpdatePageBlockInput, ListPageBlocksInput } from './pages.schemas';
export declare const blocksService: {
    findAll(filters: ListPageBlocksInput): Promise<{
        type: string;
        id: string;
        createdAt: Date;
        updatedAt: Date;
        schema: Prisma.JsonValue;
        category: string | null;
        sortOrder: number;
        label: string;
        defaults: Prisma.JsonValue;
        thumbnail: string | null;
    }[]>;
    findById(id: string): Promise<{
        type: string;
        id: string;
        createdAt: Date;
        updatedAt: Date;
        schema: Prisma.JsonValue;
        category: string | null;
        sortOrder: number;
        label: string;
        defaults: Prisma.JsonValue;
        thumbnail: string | null;
    }>;
    create(data: CreatePageBlockInput): Promise<{
        type: string;
        id: string;
        createdAt: Date;
        updatedAt: Date;
        schema: Prisma.JsonValue;
        category: string | null;
        sortOrder: number;
        label: string;
        defaults: Prisma.JsonValue;
        thumbnail: string | null;
    }>;
    update(id: string, data: UpdatePageBlockInput): Promise<{
        type: string;
        id: string;
        createdAt: Date;
        updatedAt: Date;
        schema: Prisma.JsonValue;
        category: string | null;
        sortOrder: number;
        label: string;
        defaults: Prisma.JsonValue;
        thumbnail: string | null;
    }>;
    delete(id: string): Promise<void>;
};
//# sourceMappingURL=blocks.service.d.ts.map