/**
 * Standard kernel middleware registered at boot (db serve, CLI entity ops).
 */
import type { SchemaDefinition } from '../ontology/types.js';
import type { TrellisKernel } from './trellis-kernel.js';
/** Index schemas by @id, short name, and label for entity-type lookup. */
export declare function buildOntologyIndex(schemas: SchemaDefinition[]): Map<string, SchemaDefinition>;
/** Register standard post-query enrichment and schema validation middleware. */
export declare function attachStandardMiddleware(kernel: TrellisKernel): void;
//# sourceMappingURL=boot-middleware.d.ts.map