import type { Client } from '@credithub/webservice'; export declare const LLAMA_CONSULTA_QUERY = "SELECT FROM 'LlamaApi'.'Consulta'"; export declare const DEFAULT_LLAMA_MODEL = "credithub-ql"; export declare const DEFAULT_PROMPT_MAX_CHARS = 12000; export interface LlamaMessage { role: string; content: string; } export interface LlamaPayload extends Client.Form { model: string; messages: string; } export declare function buildLlamaPayload(params: { messages: LlamaMessage[]; model?: string; }): LlamaPayload; /** Limita texto enviado à IA; retorna corpo truncado e flag. */ export declare function truncateForPrompt(text: string, maxChars?: number): { text: string; truncated: boolean; };