import { RemoveSpaces } from "@re-do/utils"; import { ParseConfig } from "./common.js"; import { Fragment } from "./fragment.js"; import { Optional } from "./optional.js"; export declare namespace Str { type Definition = Def; type Validate> = Fragment.Validate ? OptionalDef : ParsableDefinition, Def, TypeSet>; type Parse> = ParsableDefinition extends Optional.Definition ? Fragment.Parse | undefined : Fragment.Parse; const type: string; const parse: { meta: { type: string; inherits: () => import("./common.js").GetHandledMethods<{ 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; }>; handles: {}; matches: import("./common.js").DefinitionMatcher; }; } & import("./common.js").ParseFunction; const delegate: string; }