import type { IncomingMessage, ServerResponse } from "node:http";
import { type A2aSettlementResult } from "./a2a-settlement.js";
export type A2aHttpHandler = (req: IncomingMessage, res: ServerResponse) => Promise<boolean>;
type SenderTier = "verified" | "unverified" | "blocked";
export declare function createA2aHandler(opts: {
    origin: string;
    profileVersion?: string;
    rpcPath?: string;
    streamPath?: string;
    agentId?: string;
    defaultHandle?: string;
    maxBodyBytes?: number;
    federationBaseUrl?: string;
    federationApiToken?: string;
    tierCacheTtlMs?: number;
    includeApBridgeMetadata?: boolean;
    settlementOrchestrator?: (params: {
        taskId: string;
        taskInput: unknown;
        senderHandle: string;
        senderTier: SenderTier;
        env?: NodeJS.ProcessEnv;
    }) => Promise<A2aSettlementResult>;
}): A2aHttpHandler;
export {};
