import { DefinitionTypeError, ParseConfig } from "./common.js"; import { Str } from "./str.js"; import { Num } from "./num.js"; export declare namespace Shallow { type Definition = Def; type Validate = Def extends Num.Definition ? Def : Def extends Str.Definition ? Str.Validate : DefinitionTypeError; type Parse = Def extends Num.Definition ? Value : Def extends Str.Definition ? Str.Parse : unknown; const type: string | number; const parse: { meta: { type: string | number; inherits: () => import("./common.js").GetHandledMethods<{ type: string | number | { [x: string]: any; }; inherits: () => import("./common.js").GetHandledMethods<{ type: string | number | { [x: string]: any; }; inherits: () => void; handles: {}; }>; handles: {}; matches: import("./common.js").DefinitionMatcher; }>; handles: {}; matches: import("./common.js").DefinitionMatcher; }; } & import("./common.js").ParseFunction; const delegate: string | number; }