import { z } from 'zod'; /** * @internal */ export declare const write_result_success: z.ZodObject<{ error: z.ZodOptional; value: z.ZodObject<{ href: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; href: string; }, { message: string; href: string; }>; }, "strip", z.ZodTypeAny, { value: { message: string; href: string; }; error?: undefined; }, { value: { message: string; href: string; }; error?: undefined; }>; /** * @internal */ export declare const write_result_failure: z.ZodObject<{ error: z.ZodType; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>; /** * @internal */ export declare const write_result: z.ZodUnion<[z.ZodObject<{ error: z.ZodType; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>, z.ZodObject<{ error: z.ZodOptional; value: z.ZodObject<{ href: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; href: string; }, { message: string; href: string; }>; }, "strip", z.ZodTypeAny, { value: { message: string; href: string; }; error?: undefined; }, { value: { message: string; href: string; }; error?: undefined; }>]>; /** * Write result. * * @public */ export type WriteResult = z.infer; /** * @internal */ export declare const write_func: z.ZodFunction, z.ZodPromise; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>, z.ZodObject<{ error: z.ZodOptional; value: z.ZodObject<{ href: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; href: string; }, { message: string; href: string; }>; }, "strip", z.ZodTypeAny, { value: { message: string; href: string; }; error?: undefined; }, { value: { message: string; href: string; }; error?: undefined; }>]>>>; /** * Write function. * * @public */ export type Write = z.infer; export declare const hosting: z.ZodObject<{ config: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; write: z.ZodFunction, z.ZodPromise; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>, z.ZodObject<{ error: z.ZodOptional; value: z.ZodObject<{ href: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; href: string; }, { message: string; href: string; }>; }, "strip", z.ZodTypeAny, { value: { message: string; href: string; }; error?: undefined; }, { value: { message: string; href: string; }; error?: undefined; }>]>>>; }, "strip", z.ZodTypeAny, { config: {} & { [k: string]: unknown; }; write: (...args: unknown[]) => Promise<{ value: { message: string; href: string; }; error?: undefined; } | { error: Error; value?: undefined; }>; }, { config: {} & { [k: string]: unknown; }; write: (...args: unknown[]) => Promise<{ value: { message: string; href: string; }; error?: undefined; } | { error: Error; value?: undefined; }>; }>; export type Hosting = z.input; export declare const hosting_client: z.ZodFunction, z.ZodObject<{ config: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; write: z.ZodFunction, z.ZodPromise; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>, z.ZodObject<{ error: z.ZodOptional; value: z.ZodObject<{ href: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; href: string; }, { message: string; href: string; }>; }, "strip", z.ZodTypeAny, { value: { message: string; href: string; }; error?: undefined; }, { value: { message: string; href: string; }; error?: undefined; }>]>>>; }, "strip", z.ZodTypeAny, { config: {} & { [k: string]: unknown; }; write: (...args: unknown[]) => Promise<{ value: { message: string; href: string; }; error?: undefined; } | { error: Error; value?: undefined; }>; }, { config: {} & { [k: string]: unknown; }; write: (...args: unknown[]) => Promise<{ value: { message: string; href: string; }; error?: undefined; } | { error: Error; value?: undefined; }>; }>>; //# sourceMappingURL=schemas.d.ts.map