import type { OptionalizeProperties } from "./object-types"; import type { ParsedValue, Parser } from "../parser-types"; type ObjectSchema = Record>; /** * Given a `schema`, returns an object parser. The parser accepts an object * iff each sub-parser in the `schema` accepts the object's corresponding * property value. * * The returned parser filters out properties not present in the schema. If * you don't want this behavior, try `looseObject`. */ export declare function object(schema: S): Parser; }>>; /** * Given a `schema`, returns an object parser. The parser accepts an object * iff each sub-parser in the `schema` accepts the object's corresponding * property value. * * The parser preserves any object properties not present in the schema. If * you want unrecognized properties to be filtered out instead, try `object`. */ export declare function looseObject(schema: S): Parser; }>>; export {};