export class Schema {
    definition;
    constructor(definition) {
        this.definition = definition;
    }
    static fromZod(name, schema, options) {
        return new Schema({
            name,
            schema,
            description: options?.description,
            strict: options?.strict
        });
    }
    static fromJson(name, schema, options) {
        return new Schema({
            name,
            schema,
            description: options?.description,
            strict: options?.strict
        });
    }
}
