import { n as Type } from "./schema-BNke0iHR.cjs";

//#region src/common/schema/parse-object.d.ts
declare function schemaCreateObject<T>(schema: Type<T>): Partial<T> | undefined;
/**
 * Message for schema validation results.
 * @category Schema
 */
interface SchemaValidateMessage {
  path: string;
  message: string;
  type: string;
  valid: boolean;
}
declare function schemaValidateObject<T>(schema: Type<T>, obj?: any, opt?: {
  path?: string;
  messages?: SchemaValidateMessage[];
  allowExtra?: boolean;
}): boolean;
declare function schemaParseObject<T>(schema: Type<T>, obj?: any, opt?: {
  path?: string;
  messages?: SchemaValidateMessage[];
  allowExtra?: boolean;
  skipDefault?: boolean;
}): T | undefined;
//#endregion
export { schemaValidateObject as i, schemaCreateObject as n, schemaParseObject as r, SchemaValidateMessage as t };
//# sourceMappingURL=parse-object-D_fCDXxd.d.cts.map