import type { AIModel, UploadFunction } from "../types";
export declare const uploadFileToBackend: UploadFunction;
export declare function getAvailableModels(): Promise<AIModel[]>;
export declare function sendMessageToBackend(messages: Array<{
    attachments?: Array<{
        id: string;
        name: string;
        size: number;
        type: string;
        url: string;
    }>;
    content: string;
    id: string;
    role: string;
    timestamp?: string;
}>, onChunk: (chunk: string, metadata?: {
    chunkType?: string;
    planSteps?: Array<{
        completed: boolean;
        description: string;
        id: string;
    }>;
}) => void, onComplete: (finalMessage?: {
    contentSegments?: unknown;
    contentType?: string;
    metadata?: unknown;
}) => void, onError: (error: Error) => void, abortSignal?: AbortSignal, modelId?: string): Promise<void>;
export declare function testBackendConnection(): Promise<any>;
