import type { Config, ExtendedMcpServer, MCPayMcpServerOptions, PaymentAuthConfig, PaymentValidationResponse, PaymentVerifier } from "./types";
/**
 * Validates a payment header with the mcpay API.
 */
export declare function validatePaymentWithMcpay(paymentHeader: string, config: PaymentAuthConfig): Promise<PaymentValidationResponse>;
/**
 * Creates a payment verifier function that validates X-Payment headers with MCPay.
 */
export declare function createPaymentVerifier(config: PaymentAuthConfig): PaymentVerifier;
/**
 * Creates a payment-based authenticated MCP handler that validates X-Payment headers with mcpay API
 * @param initializeServer - A function that initializes the MCP server with paid tools
 * @param serverOptions - Options for the MCP server including MCPay configuration
 * @param config - Configuration for the MCP handler
 * @returns A function that can be used to handle MCP requests with payment-based authentication
 */
export declare function createPaidMcpHandler(initializeServer: ((server: ExtendedMcpServer) => Promise<void>) | ((server: ExtendedMcpServer) => void), serverOptions?: MCPayMcpServerOptions, config?: Config): (request: Request) => Promise<Response>;
//# sourceMappingURL=paid-mcp-server.d.ts.map