import type * as type from "../types"; export declare class SchemaSetup implements type.VkrunSchema { private defaultValue; private readonly methods; private readonly config?; constructor(config?: type.SchemaConfig); private clone; string(config?: type.SchemaConfig): type.SchemaGenericStringType; number(config?: type.SchemaConfig): type.SchemaGenericNumberType; bigInt(config?: type.SchemaConfig): type.SchemaGenericBigIntType; boolean(config?: type.SchemaConfig): type.SchemaGenericBooleanType; buffer(config?: type.SchemaConfig): type.SchemaGenericBufferType; function(config?: type.SchemaConfig): type.SchemaGenericFunctionType; date(config?: type.SchemaConfig): type.SchemaGenericDateType; array>(schema: Item, config?: type.SchemaArrayConfig): type.SchemaGenericArrayType; object>>(schema: Shape, config?: type.SchemaConfig): type.SchemaGenericObjectType; oneOf>>(comparisonItems: Items, config?: type.SchemaConfig): type.SchemaGenericOneOfType; any(): type.SchemaGenericAnyType; private schemaMethodParams; private validateMethods; private validateMethodsAsync; private runValidatorBlockParams; private methodBuild; private createExecutionContext; private updateTests; private addPassed; private addFailed; private throw; private throwAsync; private test; private testAsync; private parse; private parseAsync; private validate; private validateAsync; } /** * @function schema * * The `schema` construct provides several methods to validate schema rules such as string, number, date, and more. It supports custom error handling, asynchronous validation, and testing. * * **Usage Example:** * ```ts * import { schema } from 'vkrun' * * const emailSchema = schema().string().email() * * const validateA = emailSchema.validate('any_email@mail.com') * const validateB = emailSchema.validate('any_email@mail') * * console.log(validateA) // true * console.log(validateB) // false * ``` */ declare const schema: (config?: type.SchemaConfig) => type.VkrunSchema; export { schema };