import { ConversationList, ConversationMessages } from "./models/Conversation";
import type { UsageStatus } from "./models/UsageStatus";
export declare class AgentApiService {
    private readonly url;
    private readonly urlWs;
    private readonly environment;
    private readonly axios;
    private token;
    private socket;
    constructor(env: string, token?: string | null);
    setToken(token?: string | null): void;
    getSocket(): WebSocket | null;
    fetchConversationMessages: (conversationId: string, options?: {
        cursor?: string;
        limit?: number;
    }) => Promise<ConversationMessages>;
    fetchConversationList: () => Promise<ConversationList>;
    renameConversation: (conversationId: string, newTitle: string) => Promise<void>;
    deleteConversation: (conversationId: string) => Promise<void>;
    postFeedback: (messageId: string, score: string, comment: string) => Promise<void>;
    fetchUsageStatus: (userId: string) => Promise<UsageStatus>;
    postChat(message: string, currentAppName: string, currentConversationId: string | null, agentContext: object, currentUrl: string, appInitiated: boolean, userTimezone: string | null): Promise<unknown>;
}
