import { QelosSDKOptions } from './types'; import BaseSDK from './base-sdk'; export interface IBlock { name: string; description?: string; content: string; contentType?: 'content' | 'html'; [key: string]: any; } export default class QlBlocks extends BaseSDK { private relativePath; constructor(options: QelosSDKOptions); getBlock(blockId: string): Promise; getList(): Promise; remove(blockId: string): Promise; update(blockId: string, changes: Partial): Promise; create(block: IBlock): Promise; }