import type { StandardSchemaV1 } from '@standard-schema/spec'; /** * Runs a Standard Schema validator synchronously and returns a success or failure result. * Async validators are rejected immediately with an error. */ export declare function validateStandardSchema(validator: StandardSchemaV1, value: unknown, options: TValidateStandardSchemaOptions): TStandardSchemaValidationResult; interface TValidateStandardSchemaOptions { envKey: string; description?: string; example?: string; } type TStandardSchemaValidationResult = { success: true; value: GValue; } | { success: false; error: string; }; export declare function isStandardSchemaValidator(value: unknown): value is StandardSchemaV1; export {}; //# sourceMappingURL=standard-schema.d.ts.map