import { type ExecResultResponse } from "../tx/exec_result.js"; import type { HttpClient } from "../lib/http.js"; import type { PendingX402, X402PaymentPayload } from "./types.js"; export type ProviderRef = string; export type SignPendingX402Result = { payment_signature_header: string; payload: X402PaymentPayload; }; export declare function signPendingX402(pending: PendingX402, password: string): Promise; export type X402FetchResult = { status: number; headers: Record; body: string; }; export declare function fetchWithX402Payment(pending: PendingX402, paymentSignatureHeader: string): Promise; export type SignFetchResumeResult = { sign: SignPendingX402Result; fetch: X402FetchResult; reply: ExecResultResponse; }; export declare function signFetchAndResume(http: HttpClient, pending: PendingX402, runId: string, provider: ProviderRef, password: string): Promise; //# sourceMappingURL=pay.d.ts.map