import type { AssertionParams, GradingResult } from '../types';
export interface HalloumiGenerativePrompt {
    prompt: string;
    contextOffsets: Map<number, StringOffsetWindow>;
    responseOffsets: Map<number, StringOffsetWindow>;
}
export interface StringOffsetWindow {
    startOffset: number;
    endOffset: number;
}
export interface GenerativeClaim {
    claimId: number;
    claimString: string;
    subclaims: string[];
    citations: number[];
    explanation: string;
    supported: boolean;
    probabilities: Map<string, number>;
}
/**
 * Creates a Halloumi prompt from a given context, request and response.
 * @param context The context or document to reference.
 * @param response The response to the request.
 * @param request The request or question that was used to produce the response.
 * @returns The Halloumi prompt.
 */
export declare function createHalloumiPrompt(context: string, response: string, request?: string): HalloumiGenerativePrompt;
export declare function getClaimsFromResponse(response: string): GenerativeClaim[];
export declare const handleHallucination: ({ assertion, outputString, test, output, context, prompt, workspaceId, }: AssertionParams) => Promise<GradingResult>;
//# sourceMappingURL=hallucination.d.ts.map