import { IdentifierNode, Node } from './ast/AST.js'; import { Symbol } from './ast/SymbolTable.js'; export declare class CashScriptWarning { node: Node; name: string; message: string; constructor(node: Node, message: string); } export declare class UnusedVariableWarning extends CashScriptWarning { symbol: Symbol; constructor(symbol: Symbol); } export declare class UnusedAssignmentWarning extends CashScriptWarning { identifier: IdentifierNode; constructor(identifier: IdentifierNode); } export type CashScriptWarningListener = (warning: CashScriptWarning) => void; export declare const defaultWarningListener: CashScriptWarningListener;