import type { AstNode } from "@/types";
/**
 * Collects entry point nodes that must be retained during tree-shaking.
 * Entry points are nodes that are executed or can be called at runtime.
 */
export declare class EntryPointCollector {
    private entryPoints;
    /**
     * Collect all entry point nodes from the AST body
     */
    collect(body: AstNode[]): Set<AstNode>;
    /**
     * Determine if a node is an entry point that must be retained
     */
    private isEntryPoint;
}
//# sourceMappingURL=EntryPointCollector.d.ts.map