import type { Message } from "@mariozechner/pi-ai";
import type { AgentRunConfig, AgentTransport } from "./types.js";
export interface AppTransportOptions {
    /**
     * Proxy server URL. The server manages user accounts and proxies requests to LLM providers.
     * Example: "https://genai.mariozechner.at"
     */
    proxyUrl: string;
    /**
     * Function to retrieve auth token for the proxy server.
     * The token is used for user authentication and authorization.
     */
    getAuthToken: () => Promise<string> | string;
}
/**
 * Transport that uses an app server with user authentication tokens.
 * The server manages user accounts and proxies requests to LLM providers.
 */
export declare class AppTransport implements AgentTransport {
    private options;
    constructor(options: AppTransportOptions);
    run(messages: Message[], userMessage: Message, cfg: AgentRunConfig, signal?: AbortSignal): AsyncGenerator<import("@mariozechner/pi-ai").AgentEvent, void, unknown>;
}
//# sourceMappingURL=AppTransport.d.ts.map