import type { InputValue, Schema, TransformedValue, ValidValue, WriteValueOptions } from '../../../schema/index.js'; import { SchemaAction } from '../../../schema/index.js'; import type { InferWriteValueOptions, ParseValueOptions } from './options.js'; type ParserInput> = OPTIONS extends { fill: false; } ? ValidValue : InputValue; export type ParserYield> = (OPTIONS extends { fill: false; } ? never : InputValue) | ValidValue; export type ParserReturn> = OPTIONS extends { transform: false; } ? ValidValue : TransformedValue; export declare class Parser extends SchemaAction { static actionName: "parse"; start(inputValue: unknown, options?: OPTIONS): Generator, ParserReturn>; parse(inputValue: unknown, options?: OPTIONS): ParserReturn; reparse(inputValue: ParserInput, options?: OPTIONS): ParserReturn; validate = {}>(inputValue: unknown, options?: OPTIONS): inputValue is ValidValue; } export {};