import type { Context } from '../types/index.js'; export declare enum ErrorType { FORBIDDEN = "forbidden", UNSUPPORTED = "unsupported", CLOSURE_COLLISION = "closure-collision", FILE_ERROR = "file-error", SYNTAX_ERROR = "syntax-error", CLASS_ERROR = "class-error", VALIDATION_ERROR = "validation-error" } export declare class TranspileError extends Error { readonly solution?: string | undefined; readonly type: ErrorType; readonly line: number; readonly column: number; constructor(ctx: Pick, type: ErrorType, message: string, solution?: string | undefined); } export declare const createTranspileError: (type: ErrorType, message: string, solution?: string, line?: number) => Error;