import { z } from 'zod'; import { ErrorMessageOptions } from '../types'; /** * Asynchronously parses a Zod schema * and throws a generic error. * Only required if schema contains async * .refine() or .transform() functions. * @export * @template T * @param {T} schema * @param {unknown} data * @param {ErrorMessageOptions} [options] * @return {*} {Promise} */ export declare function parseAsync(schema: T, data: unknown, options?: ErrorMessageOptions): Promise;