import type { PuristaMetricDefinition } from './types.js'; /** * Validates a custom application metric definition. * * @example * ```ts * await validateMetricDefinition('app.orders.created', { * kind: 'counter', * unit: '{order}', * description: 'Created orders', * }) * ``` */ export declare const validateMetricDefinition: (name: string, definition: PuristaMetricDefinition, knownMetricNames?: Iterable) => Promise; /** * Validates multiple custom metric definitions as one registry. * * @example * ```ts * await validateMetricDefinitions({ 'app.orders.created': definition }) * ``` */ export declare const validateMetricDefinitions: (definitions: Record>) => Promise; //# sourceMappingURL=metricDefinitionSchema.d.ts.map