import type { CellViewer, ViewerRenderContext, TextViewerData } from './types';
export interface ErrorInfo {
    errorProperty?: string;
    errorMessage?: string;
    is_warning?: boolean;
    is_level_1_error?: boolean;
}
export interface OnlyShowErrorViewerData extends TextViewerData {
    error?: ErrorInfo;
}
/**
 * OnlyShowErrorViewer - Only shows error marker if cell has error
 * Simplified Canvas version of AssetMatrix's onlyShowErrorViewer
 */
declare class OnlyShowErrorViewer implements CellViewer<OnlyShowErrorViewerData> {
    readonly type = "only-show-error";
    draw(context: ViewerRenderContext, data: OnlyShowErrorViewerData): void;
    onClick(context: ViewerRenderContext, data: OnlyShowErrorViewerData, _localX: number, _localY: number): boolean;
}
export default OnlyShowErrorViewer;
