import type { Parser } from "../parser-types"; export declare function defaulted(parser: Parser, fallback: (missingValue: null | undefined) => NoInfer): Parser; /** * Similar to defaulted, but specifically handles empty strings as invalid. * * @param fallback Function that generates a fallback value for empty/missing strings * @returns Parser that validates non-empty strings or uses fallback */ export declare function defaultedNonEmptyString(fallback: () => string): Parser;