import { Fragment } from "./fragment.js"; export declare namespace Optional { type Definition = `${Def}?`; const type: `${string}?`; const parse: { meta: { type: `${string}?`; inherits: () => import("./common.js").GetHandledMethods<{ 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; }>; handles: { allows: ({ def, components, ctx }: { def: `${string}?`; ctx: import("./common.js").ParseContext; } & { components: import("./common.js").ParseResult[]; }, valueType: import("./common.js").ExtractableDefinition, opts: import("./common.js").AllowsOptions) => import("./common.js").ValidationErrors; generate: () => undefined; references: ({ components }: { def: `${string}?`; ctx: import("./common.js").ParseContext; } & { components: import("./common.js").ParseResult[]; }, opts: import("./common.js").ReferencesOptions) => string[]; }; matches: import("./common.js").DefinitionMatcher<`${string}?`>; }; } & import("./common.js").ParseFunction<`${string}?`, import("./common.js").ParseResult[]>; const delegate: `${string}?`; }