method ZodType.prototype.refineRe-exportimport { ZodType } from "https://deno.land/x/zod@v3.20.3/external.ts"; refine<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, RefinedOutput, Input>refine(check: (arg: Output) => unknown | Promise<unknown>, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, Output, Input>Type ParametersRefinedOutput extends OutputParameterscheck: (arg: Output) => arg is RefinedOutputoptionalmessage: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)ReturnsZodEffects<this, RefinedOutput, Input>Parameterscheck: (arg: Output) => unknown | Promise<unknown>optionalmessage: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)ReturnsZodEffects<this, Output, Input>