/** * Splits a callback expression into its parameter list and body. * * The split is syntactic rather than textual: locating the body by searching * for `=>` finds the first arrow anywhere in the string, including one nested * inside the callback's own body, which silently truncates the body and hides * whatever it contained. */ export declare function strip_arrow_function(expr: string): { params: string; body: string; body_start: number; body_end: number; }; export declare function is_callback_function_expression(expr: string): boolean; export declare function analyze_event_body_yield_star(body: string): { has_top_level_yield_star: boolean; has_nested_invalid_yield_star: boolean; }; export declare function collect_free_identifiers(expr_text: string): string[];