import { ErrorObject } from 'ajv';
import { FetchFunction } from './helpers';
import { ShowpadAppManifestSchemaV2 } from './schemas/manifest';
export interface SchemaValidationResult {
    valid: boolean;
    errors: ErrorObject[];
}
export declare class JsonSchemaValidator {
    private readonly fetchFunction;
    private readonly ajv;
    constructor(fetchFunction?: FetchFunction);
    validate(manifest: ShowpadAppManifestSchemaV2): Promise<SchemaValidationResult>;
}
