Files
hive/frontend/node_modules/react-docgen/dist/FileState.d.ts
anthonyrawlins e89f2f4b7b Add comprehensive development roadmap via GitHub Issues
Created 10 detailed GitHub issues covering:
- Project activation and management UI (#1-2)
- Worker node coordination and visualization (#3-4)
- Automated GitHub repository scanning (#5)
- Intelligent model-to-issue matching (#6)
- Multi-model task execution system (#7)
- N8N workflow integration (#8)
- Hive-Bzzz P2P bridge (#9)
- Peer assistance protocol (#10)

Each issue includes detailed specifications, acceptance criteria,
technical implementation notes, and dependency mapping.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 19:41:01 +10:00

32 lines
1.1 KiB
TypeScript

import type { HubInterface, Scope, Visitor } from '@babel/traverse';
import { NodePath } from '@babel/traverse';
import type { File, Program } from '@babel/types';
import type { Importer, ImportPath } from './importer/index.js';
import type { TransformOptions } from '@babel/core';
export default class FileState {
#private;
opts: TransformOptions;
path: NodePath<Program>;
ast: File;
scope: Scope;
code: string;
hub: HubInterface;
constructor(options: TransformOptions, { code, ast, importer }: {
code: string;
ast: File;
importer: Importer;
});
/**
* Try to resolve and import the ImportPath with the `name`
*/
import(path: ImportPath, name: string): NodePath | null;
/**
* Parse the content of a new file
* The `filename` is required so that potential imports inside the content can be correctly resolved and
* the correct babel config file could be loaded. `filename` needs to be an absolute path.
*/
parse(code: string, filename: string): FileState;
traverse<S>(visitors: Visitor<S>, state?: S): void;
traverse(visitors: Visitor): void;
}