import { Block, BlockActionType, BlockVersion, GetBlockLogsParams, PushBlockParams } from '../models/Contensis'; import ContensisRepository from '../repositories/ContensisRepository'; declare class BlocksService { private contensis; private source; error: AppError | null; raw: Block[]; constructor(contensis: ContensisRepository, source: ContensisRepository); GetBlocks: () => Promise<[AppError | null, Block[] | undefined]>; GetBlockVersions: (blockId: string, branchId?: string, version?: string) => Promise<[AppError | null, BlockVersion[] | undefined]>; PushBlockVersion: (block: PushBlockParams) => Promise<[AppError | null, BlockVersion | undefined]>; BlockAction: (blockId: string, actionType: BlockActionType, version: string) => Promise<[AppError | null, BlockVersion | undefined]>; GetBlockLogs: (params: GetBlockLogsParams) => Promise<[AppError | null, string | undefined]>; BuildBlocksToMigrate: () => never; } export default BlocksService;