import Package from "../metadata/package.js"; import { StructPath } from "../metadata/struct.js"; import Content from "./content.js"; /** * HydrateContext is used to hydrate a struct from a content */ export declare class HydrateContext { readonly content: Content; readonly package: Package; constructor(content: Content, pkg: Package); } export interface ExplicitRecord { [key: string]: T; } export interface StructInterface { __structPath: StructPath; } export interface GenericProperties extends ExplicitRecord { } export interface SerializedProperties extends ExplicitRecord { } export type Struct = GenericProperties & StructInterface;