import type { Steps } from '../alphalib/types/template.ts'; import { z } from 'zod'; declare const APIErrorSchema: z.ZodObject<{ error: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; message: string; }, { error: string; message: string; }>; export type APIError = z.infer; declare const TransloaditAPIErrorSchema: z.ZodObject<{ error: z.ZodOptional; message: z.ZodString; code: z.ZodOptional; transloaditErrorCode: z.ZodOptional; response: z.ZodOptional; }, "strip", z.ZodTypeAny, { error?: string | undefined; }, { error?: string | undefined; }>>; statusCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { body?: { error?: string | undefined; } | undefined; statusCode?: number | undefined; }, { body?: { error?: string | undefined; } | undefined; statusCode?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { message: string; response?: { body?: { error?: string | undefined; } | undefined; statusCode?: number | undefined; } | undefined; error?: string | undefined; code?: string | undefined; transloaditErrorCode?: string | undefined; }, { message: string; response?: { body?: { error?: string | undefined; } | undefined; statusCode?: number | undefined; } | undefined; error?: string | undefined; code?: string | undefined; transloaditErrorCode?: string | undefined; }>; export type TransloaditAPIError = z.infer; export interface TemplateFileData { transloadit_template_id?: string; steps?: Steps; [key: string]: unknown; } export declare const TemplateFileDataSchema: z.ZodType; export interface TemplateFile { file: string; data: TemplateFileData; } export declare function ensureError(value: unknown): Error; export declare function isAPIError(value: unknown): value is APIError; export declare function isTransloaditAPIError(value: unknown): value is TransloaditAPIError; export declare function isErrnoException(value: unknown): value is NodeJS.ErrnoException; export {}; //# sourceMappingURL=types.d.ts.map