import { z } from 'zod';
export interface Category {
    category: string;
    description: string;
}
export declare const FALLBACK_KEY = "fallback";
export declare const CONFIDENCE_KEY = "confidence";
export interface ClassificationResult {
    matched: string[];
    fallback: boolean;
    scores?: Record<string, number>;
}
export declare function findReservedCategory(categories: Category[]): string | undefined;
export declare function buildClassificationSchema(categories: Category[], withFallback: boolean, withConfidence?: boolean): z.ZodObject<{
    [k: string]: z.ZodTypeAny;
}, "strip", z.ZodTypeAny, {
    [x: string]: any;
}, {
    [x: string]: any;
}>;
export declare function toClassificationResult(raw: unknown, categories: Category[]): ClassificationResult;
