export declare const MODULE_PATH: RegExp; /** Looks through every wrapper, however many were written. */ export declare function unwrap(node: any): any; /** * The path of a client module the compiler transforms may look at — * dependencies and virtual modules are not the app's islands. One gate for * the island catalog and both compiler passes, so the rules cannot drift. */ export declare function clientModulePath(id: string): string | undefined; /** Defs are declared at module top level: `export const X = component({...})` (or a default export). */ export declare function topLevelDeclarations(node: any): any[]; /** * Island names a module declares. A missed island silently reintroduces the * suspense-only-page bug, so a parse failure retries with the other JSX mode * (JSX does appear in `.ts` files) before giving up on the module. */ export declare function islandNamesIn(code: string, tsx?: boolean): string[]; /** * Dev's answer to the build catalog: `janux dev` bundles nothing, so the * catalog is derived by scanning the app source on demand (same names, '' * URLs — defs ship inside the runtime graph). Without it a page whose only * islands sit behind suspense boundaries never boots under the dev server. */ export declare function islandCatalogFromDir(dir: string): Record; /** Folds one bundled module into the catalog. */ export declare function collectIslands(catalog: Record, id: string, code: string): void;