import { Evaluate } from "@re-do/utils"; import { ParseConfig, ValidationErrors, ParseResult } from "./internal.js"; import { Root } from "../root.js"; import { Recursible } from "./recursible.js"; import { Optional } from "../shallow"; export declare namespace Obj { type Definition = Recursible.Definition extends any[] ? never : Def; type Validate = Evaluate<{ [PropName in keyof Def]: Root.Validate; }>; type Parse> = { [PropName in OptionalKey]?: Def[PropName] extends Optional.Definition ? Root.Parse : unknown; } & { [PropName in RequiredKey]: Root.Parse; }; const type: { [x: string]: any; }; const parse: { meta: { type: { [x: string]: any; }; inherits: () => import("./internal.js").GetHandledMethods<{ type: { [x: string]: any; }; inherits: () => import("./internal.js").GetHandledMethods<{ type: string | number | { [x: string]: any; }; inherits: () => import("./internal.js").GetHandledMethods<{ type: string | number | { [x: string]: any; }; inherits: () => void; handles: {}; }>; handles: {}; matches: import("./internal.js").DefinitionMatcher; }>; handles: {}; matches: import("./internal.js").DefinitionMatcher<{ [x: string]: any; }>; }>; handles: { allows: ({ components, def, ctx }: { def: { [x: string]: any; }; ctx: import("./internal.js").ParseContext; } & { components: Record>; }, valueType: import("./internal.js").ExtractableDefinition, opts: import("./internal.js").AllowsOptions) => ValidationErrors; references: ({ components }: { def: { [x: string]: any; }; ctx: import("./internal.js").ParseContext; } & { components: Record>; }, opts: import("./internal.js").ReferencesOptions) => import("@re-do/utils").TreeOf; generate: ({ components, def, ctx }: { def: { [x: string]: any; }; ctx: import("./internal.js").ParseContext; } & { components: Record>; }, opts: import("./internal.js").GenerateOptions) => any; }; matches: import("./internal.js").DefinitionMatcher<{ [x: string]: any; }>; }; } & import("./internal.js").ParseFunction<{ [x: string]: any; }, Record>>; const delegate: { [x: string]: any; }; }