/** Local names this module imported from 'janux', mapped to their exported names. */ export declare function januxImports(body: any[]): Map; /** The trusted janux export a call invokes, if the callee is one at all. */ export declare function calleeExport(node: any, trusted: Map): string | undefined; /** Every name a pattern binds. */ export declare function patternNames(pattern: any, out: Set): Set; /** Every name bound anywhere inside the subtree: params, declarations, catches — nested included. */ export declare function boundNames(node: any, out: Set): Set; /** One statically-written property of a config object literal. */ export declare function configProp(config: any, key: string): any; /** Every `component({...})` config object a module declares at top level. */ export declare function componentConfigs(body: any[], trusted: Map): any[]; /** * The transform hook's gate, mirroring `collectIslands`: dependencies and * virtual modules are not the app's islands, and a module that never says * `component(` has nothing to compile. Only the client graph goes through * here — the server resolves thunks inline anyway, so transforming its copy * would change nothing but the surface for surprises. */ export declare function compileClientModule(id: string, code: string): string | undefined; /** * Rewrites every provable state-path site in `code` into a binding thunk. * Returns the transformed module, or undefined when nothing provable was * found (or the module cannot be transformed safely — the caller ships the * code as written either way). */ export declare function compileBindingSites(code: string, tsx: boolean): string | undefined;