export declare const HOST: any;
export declare const TOKEN_ENDPOINT: string;
export declare const CHAT_ENDPOINT: string;
export declare const FEEDBACK_ENDPOINT: string;
export declare const SENDER_APP: any;
export declare const API_KEY: any;
export declare const ALG = "HS256";
export declare const BASIC_AUTH: any;
export type Config = {
    brand: string;
    state: string;
    category: string;
    language: string;
};
export type Role = "assistant" | "user";
export type ChatMessage = {
    id: string;
    role: 'user' | 'assistant';
    content: string;
    followUpPrompts?: string[];
};
export type ChatAPIResponse = {
    message: {
        role: Role;
        content: string;
    };
};
export declare function decodeJwtExp(token: string): number | null;
export declare function getAccessToken(): Promise<string>;
export interface FeedbackRequest {
    message_id: string;
    rating: 'like' | 'dislike';
    comments?: string;
    conversation: {
        query: string;
        response: string;
        context: {
            brand: string;
            state: string;
            category: string;
            language: string;
        };
    };
}
export declare function sendChatFeedback(feedback: FeedbackRequest): Promise<void>;
export declare function chatApiRequest(config: Config, query: string, uuid: string, abortSignal?: AbortSignal): Promise<ChatAPIResponse>;
//# sourceMappingURL=api.d.ts.map