import type { GradingResult } from '../../../types';
/** Runtime fields on assertion objects not declared on the zod Assertion schema. */
export type AssertionRuntimeExtras = {
    displayLabel?: string;
    expected?: unknown;
    actual?: unknown;
};
export declare function assertionRuntimeExtras(assertion: GradingResult['assertion']): AssertionRuntimeExtras | undefined;
export declare function buildMetricKey(assertion: {
    type?: string;
    displayLabel?: string;
} | null | undefined): string | null;
export declare function componentMetricFields(component: GradingResult): {
    assertionType: string | null;
    assertionDisplayLabel: string | null;
    metricKey: string | null;
};
/** Assert types from test_case when failure_reason = ERROR (infra). */
export declare function syntheticMetricKeysFromTestCase(testCase: Record<string, unknown> | undefined): string[];
//# sourceMappingURL=metricIdentity.d.ts.map