import { JSFunction } from '@vtj/core';
import { SymbolTable } from './symbolTable';
/**
 * 解析 methods 为 Composition 顶层 const 函数声明：
 *
 * { handleClick: { value: 'function() { this.count++ }' } }
 *  → const handleClick = function() { count.value++ };
 *
 * { fetch: { value: 'async function() { ... }' } }
 *  → const fetch = async function() { ... };
 *
 * 兼容箭头函数：{ fn: { value: '() => {}' } } → const fn = () => {};
 */
export declare function parseMethods(methods: Record<string, JSFunction> | undefined, symbols: SymbolTable): string[];
/**
 * 解析 dataSources 为 Composition 顶层 async 函数声明
 */
export declare function parseDataSources(dataSources?: Record<string, any>, symbols?: SymbolTable): string[];
