import type { Schema } from '../../../../_types/@internal_ai-sdk-v5/dist/index.js'; export type ValidationResult = { success: true; value: T; } | { success: false; error: Error; }; /** * Safely validates the types of an unknown object using a schema. * Based on @ai-sdk/provider-utils safeValidateTypes */ export declare function safeValidateTypes({ value, schema, }: { value: unknown; schema: Schema; }): Promise>; //# sourceMappingURL=validation.d.ts.map