export interface IBlocksConfig { outputSpeedLimit: number; blocks: Array; defaults?: IBlockConfig; } export interface IBlockConfig { ignoreError: boolean; markup: string; maxRetries: number; retryDelay: number; type: EBlockConfigType; align?: string; background?: string; border?: string; borderBottom?: number; borderLeft?: number; borderRight?: number; borderTop?: number; color?: string; instance?: string; interval?: number; minWidth?: number & string; module?: string; params?: any; postfix?: string; prefix?: string; script?: string; separator?: boolean; separatorWidth?: number; signal?: string; } export enum EBlockConfigType { legacy, persistent, module, } export interface IBlockOutput { full_text: string; align?: string; background?: string; border?: string; border_bottom?: number; border_left?: number; border_right?: number; border_top?: number; color?: string; markup?: string; min_width?: number | string; name?: string; separator?: boolean; separator_block_width?: number; short_text?: string; urgent?: boolean; }