import { Ajv as Ajv7, SchemaObject } from 'ajv';
import { type CommonOptions, schemaSpecs } from './commands/common.js';
type AjvCore = typeof Ajv7;
type JsonSchemaSpec = (typeof schemaSpecs)[number];
export declare function initAjv(opts: CommonOptions, mode: 'compile' | 'validate'): Promise<InstanceType<AjvCore>>;
export declare function resolveSchemaSpec(schema: SchemaObject): Exclude<JsonSchemaSpec, 'jdt'> | undefined;
export {};
