/**
 * Reconstruct metadata serialized by the native type compiler.
 *
 * Generated metadata is almost entirely JSON data. Values that must retain
 * JavaScript semantics (constructors, lazy functions, imported metadata,
 * `undefined`, bigint literals, and similar expressions) are supplied through
 * a small side table and represented in the JSON payload by indexed markers.
 *
 * This function is a generated-code ABI. Keep the version in its exported name
 * when adding a new wire format so old compiled applications fail explicitly
 * instead of being decoded with different semantics.
 */
export declare function decodeCompactMetadataV1<T>(serialized: string, references: readonly unknown[], resolveType?: (index: number) => unknown): T;
/** Create one lazy metadata-type registry for a generated module. */
export declare function createCompactMetadataRegistryV1(serialized: string, references: readonly unknown[]): (index: number) => unknown;
/** Resolve metadata published by a type-only external import at first use. */
export declare function resolveCompactMetadataAliasV1(loadModule: (() => unknown) | ((specifier: string) => unknown), specifierOrExportName: string, exportNameOrTypeName: string, maybeTypeName?: string): unknown;
//# sourceMappingURL=compact-metadata.d.ts.map