import { GuardResult, CustomRule } from './types';
export declare function customRuleDetection(text: string, customRules?: CustomRule[]): GuardResult;
export declare function guardMetrics(): import("@opentelemetry/api").Counter<import("@opentelemetry/api").Attributes>;
export declare function guardMetricAttributes(verdict: string, score: number, validator: string, classification: string, explanation: string): {
    'telemetry.sdk.name': string;
    'openlit.guard.verdict': string;
    'openlit.guard.score': number;
    'openlit.guard.validator': string;
    'openlit.guard.classification': string;
    'openlit.guard.explanation': string;
};
export declare function toGuardResult(result: unknown, guardType: string): GuardResult;
export declare function applyThresholdScore(result: GuardResult, threshold: number): GuardResult;
