import { OptimiseBytecodeResult } from '@cashscript/utils'; import { FunctionCallNode, FunctionDefinitionNode, Node } from '../ast/AST.js'; import { Symbol } from '../ast/SymbolTable.js'; import type { InternalCompilerOptions } from '../compiler.js'; export declare const shouldInline: (symbol: Symbol, optimisedResult: OptimiseBytecodeResult, reachableCalls: FunctionCallNode[], nextFunctionId: number, compilerOptions: InternalCompilerOptions) => boolean; export declare function collectFunctionCalls(node: Node): FunctionCallNode[]; export declare function isRecursive(func: FunctionDefinitionNode): boolean;