import type { Expression, Identifier, Options, Program } from "acorn"; import type { FeatureExpression } from "./features.js"; export declare const acornOptions: Options; export interface JavaScriptCell { body: Program | Expression; declarations: Identifier[] | null; references: Identifier[]; files: FeatureExpression[]; databases: FeatureExpression[]; secrets: FeatureExpression[]; expression: boolean; async: boolean; } export declare function maybeParseJavaScript(input: string): JavaScriptCell | undefined; export declare function parseJavaScript(input: string): JavaScriptCell;