/** * JSON Schema validation for Beltic credentials. * * Schema source: https://github.com/belticlabs/beltic-spec/tree/main/schemas * * v1 Schemas: * - Agent: https://raw.githubusercontent.com/belticlabs/beltic-spec/main/schemas/agent/v1/agent-credential-v1.schema.json * - Developer: https://raw.githubusercontent.com/belticlabs/beltic-spec/main/schemas/developer/v1/developer-credential-v1.schema.json * * v2 Schemas (W3C VC 2.0 aligned): * - Agent: https://raw.githubusercontent.com/belticlabs/beltic-spec/main/schemas/agent/v2/agent-credential-v2.schema.json * - Developer: https://raw.githubusercontent.com/belticlabs/beltic-spec/main/schemas/developer/v2/developer-credential-v2.schema.json */ import type { ValidateFunction } from 'ajv'; import developerSchemaV1 from './developer-credential-v1.schema.json'; import agentSchemaV1 from './agent-credential-v1.schema.json'; import developerSchemaV2 from './developer-credential-v2.schema.json'; import agentSchemaV2 from './agent-credential-v2.schema.json'; /** * Get the compiled validator for DeveloperCredential v1. * @deprecated Use getDeveloperValidatorV2() for new implementations */ export declare function getDeveloperValidator(): ValidateFunction; /** * Get the compiled validator for AgentCredential v1. * @deprecated Use getAgentValidatorV2() for new implementations */ export declare function getAgentValidator(): ValidateFunction; /** * Get the raw DeveloperCredential v1 schema. * @deprecated Use getDeveloperSchemaV2() for new implementations */ export declare function getDeveloperSchema(): typeof developerSchemaV1; /** * Get the raw AgentCredential v1 schema. * @deprecated Use getAgentSchemaV2() for new implementations */ export declare function getAgentSchema(): typeof agentSchemaV1; /** * Get the compiled validator for DeveloperCredential v2 (W3C VC 2.0 aligned). */ export declare function getDeveloperValidatorV2(): ValidateFunction; /** * Get the compiled validator for AgentCredential v2 (W3C VC 2.0 aligned). */ export declare function getAgentValidatorV2(): ValidateFunction; /** * Get the raw DeveloperCredential v2 schema (W3C VC 2.0 aligned). */ export declare function getDeveloperSchemaV2(): typeof developerSchemaV2; /** * Get the raw AgentCredential v2 schema (W3C VC 2.0 aligned). */ export declare function getAgentSchemaV2(): typeof agentSchemaV2; export { getDeveloperValidator as getDeveloperValidatorV1, getAgentValidator as getAgentValidatorV1, getDeveloperSchema as getDeveloperSchemaV1, getAgentSchema as getAgentSchemaV1, }; //# sourceMappingURL=index.d.ts.map