import { AsyncStream } from "@pmate/utils";
export type AgentSdkStreamLike = {
    stream<TFinal = unknown, TChunk = Blob>(request: {
        agentId: string;
        stream: AsyncStream<TChunk>;
        params?: Record<string, unknown>;
        minChunkSizeBytes?: number;
    }): {
        finish(): Promise<TFinal | null>;
    };
};
export type AgentSdkASRClientOptions = {
    client: AgentSdkStreamLike;
    agentId: string;
    tokenResolver?: {
        getToken(): string;
    };
    minChunkSizeBytes?: number;
};
export declare class AgentSdkASRClient {
    private readonly options;
    constructor(options: AgentSdkASRClientOptions);
    transcribe(blob: Blob, input?: {
        lang?: string;
    }): Promise<{
        text: string;
    }>;
}
