import { DomainObject } from '../DomainObject';
export declare class NestedDomainObjectHydrationError extends Error {
    constructor(message: string, metadata: Record<string, any>);
}
export declare const hydrateNestedDomainObjects: ({ props, nested, domainObjectName, }: {
    props: Record<string, any>;
    nested: Record<string, typeof DomainObject | (typeof DomainObject)[]>;
    domainObjectName: string;
}) => Record<string, any>;
