import { PbPageBlock, PbErrorResponse } from "../../../types"; export { LIST_BLOCK_CATEGORIES } from "../BlockCategories/graphql"; export declare const LIST_PAGE_CATEGORIES: import("graphql").DocumentNode; /** * ############################## * Get Page Block Query */ export interface GetPageBlockQueryResponse { pageBuilder: { getPageBlock: { data: PbPageBlock | null; error: PbErrorResponse | null; }; }; } export interface GetPageBlockQueryVariables { id: string; } export declare const GET_PAGE_BLOCK: import("graphql").DocumentNode; /** * ############################## * List Page Blocks Query */ export interface ListPageBlocksQueryResponse { pageBuilder: { listPageBlocks: { data: PbPageBlock[] | null; error: PbErrorResponse | null; }; }; } export interface ListPageBlocksQueryVariables { blockCategory?: string; limit?: number; } export declare const LIST_PAGE_BLOCKS: import("graphql").DocumentNode; /** * ########################### * Create Page Block Mutation Response */ export interface CreatePageBlockMutationResponse { pageBuilder: { pageBlock: { data: PbPageBlock | null; error: PbErrorResponse | null; }; }; } export interface CreatePageBlockMutationVariables { data: { name: string; content: any; blockCategory: string; }; } export declare const CREATE_PAGE_BLOCK: import("graphql").DocumentNode; /** * ########################### * Update Page Block Mutation Response */ export interface UpdatePageBlockMutationResponse { pageBuilder: { pageBlock: { data: PbPageBlock | null; error: PbErrorResponse | null; }; }; } export interface UpdatePageBlockMutationVariables { id: string; data: { name: string; blockCategory: string; content: any; }; } export declare const UPDATE_PAGE_BLOCK: import("graphql").DocumentNode; export interface DeletePageBlockMutationResponse { pageBuilder: { deletePageBlock: { data: boolean | null; error: PbErrorResponse | null; }; }; } export interface DeletePageBlockMutationVariables { id: string; } export declare const DELETE_PAGE_BLOCK: import("graphql").DocumentNode;