/** Runtime Type owners and public module namespace views share one source registry. */ import type { ImportDeclaration, Program } from "../ast.ts"; import type { LoweringHints } from "../contracts.ts"; type Owner = { readonly source: string; readonly exported: string; readonly accessor?: boolean; readonly dynamic?: boolean; }; interface Host { readonly hints: LoweringHints; readonly typeCheckDeclarations: string[]; needsRuntimeTypeHelpers: boolean; } export declare const runtimeTypeGetter: (name: string) => string; export declare function runtimeTypeDeclaration(name: string, value: readonly string[], prefix: string, indentation: string, lazy: boolean): readonly string[]; export declare class ModuleAccessEmitter { private readonly host; private readonly sources; private readonly ownerImports; private readonly ownerResolvers; private readonly bindings; constructor(host: Host); prepare(program: Program): void; namespaceImport(statement: ImportDeclaration): string | null; namespaceRead(name: string): string | null; private rawNamespace; dynamicImport(source: string): string; private ownerRead; owner(route: Owner & { readonly alternatives?: readonly Owner[]; }): string; reExport(route: NonNullable[number]): void; } export {}; //# sourceMappingURL=module-access.d.ts.map