import type { Schema } from 'ajv'; import type { Graph, Workspace } from '@onerepo/graph'; /** * Definition for `graph verify` JSON schema validators. * * See [“Validating configurations”](/core/graph/#verifying-configurations) for more examples and use cases. * * ```ts * import type { GraphSchemaValidators } from 'onerepo'; * * export default { * '**': { * 'package.json': { * type: 'object', * $required: true, * properties: { * name: { type: 'string' } * }, * required: ['name'] * }, * }, * } satisfies GraphSchemaValidators; * ``` * * @group Graph */ export type GraphSchemaValidators = Record Schema & { $required?: boolean; })>>; export declare const defaultValidators: GraphSchemaValidators;