import { TSchemaValidationError } from './parser.js'; import { TJSONSchema } from './types.js'; /** * This function is used to compute the JSON schema and validation functions * for a given schema. * * @param name The name of the procedure * @param schema Procedure schema */ export declare function computeSchema(name: string, schema?: { args?: TArgsSchemaType; data?: TDataSchemaType; }): { jsonSchema: { args?: TJSONSchema; data?: TJSONSchema; }; validations: { args?: (args?: any) => { errors?: TSchemaValidationError[]; }; }; };