export interface BackUrls { success?: string; failure?: string; pending?: string; } export interface CreatePaymentPreferenceParams { title: string; quantity: number; currency: string; unit_price: number; back_urls?: BackUrls; notification_url?: string; } export interface GetPaymentParams { payment_id: string; } export interface CreateRefundParams { payment_id: string; amount?: number; } export interface SearchPaymentsParams { status?: string; sort?: string; criteria?: string; limit?: number; offset?: number; } export type GetMerchantInfoParams = Record; export declare const createPaymentPreferenceSchema: { readonly name: "create_payment_preference"; readonly description: "Creates a Mercado Pago checkout payment preference (payment link). Returns init_point URL for redirecting buyers."; readonly parameters: { readonly type: "object"; readonly required: readonly ["title", "quantity", "currency", "unit_price"]; readonly properties: { readonly title: { readonly type: "string"; readonly description: "Product or service title"; }; readonly quantity: { readonly type: "number"; readonly description: "Quantity of items"; }; readonly currency: { readonly type: "string"; readonly description: "Currency ID (e.g. ARS, BRL, MXN, CLP, COP, UYU, PEN)"; }; readonly unit_price: { readonly type: "number"; readonly description: "Unit price of the item"; }; readonly back_urls: { readonly type: "object"; readonly description: "URLs to redirect the buyer after payment"; readonly properties: { readonly success: { readonly type: "string"; readonly description: "URL on approved payment"; }; readonly failure: { readonly type: "string"; readonly description: "URL on rejected payment"; }; readonly pending: { readonly type: "string"; readonly description: "URL on pending payment"; }; }; }; readonly notification_url: { readonly type: "string"; readonly description: "Webhook URL for payment notifications (IPN)"; }; }; }; }; export declare const getPaymentSchema: { readonly name: "get_payment"; readonly description: "Retrieve a payment by its ID. Returns full payment details including status, amount, payer info."; readonly parameters: { readonly type: "object"; readonly required: readonly ["payment_id"]; readonly properties: { readonly payment_id: { readonly type: "string"; readonly description: "The payment ID to look up"; }; }; }; }; export declare const createRefundSchema: { readonly name: "create_refund"; readonly description: "Refund a payment fully or partially. Omit amount for full refund."; readonly parameters: { readonly type: "object"; readonly required: readonly ["payment_id"]; readonly properties: { readonly payment_id: { readonly type: "string"; readonly description: "The payment ID to refund"; }; readonly amount: { readonly type: "number"; readonly description: "Partial refund amount. Omit for full refund."; }; }; }; }; export declare const searchPaymentsSchema: { readonly name: "search_payments"; readonly description: "Search recent payments for the authenticated merchant. Supports filtering by status."; readonly parameters: { readonly type: "object"; readonly properties: { readonly status: { readonly type: "string"; readonly description: "Filter by status: approved, pending, rejected, refunded, cancelled"; }; readonly sort: { readonly type: "string"; readonly description: "Sort field (e.g. date_created)"; }; readonly criteria: { readonly type: "string"; readonly description: "Sort order: asc or desc"; }; readonly limit: { readonly type: "number"; readonly description: "Max results (default 30, max 100)"; }; readonly offset: { readonly type: "number"; readonly description: "Pagination offset"; }; }; }; }; export declare const getMerchantInfoSchema: { readonly name: "get_merchant_info"; readonly description: "Retrieve the authenticated merchant's user profile including ID, nickname, and site."; readonly parameters: { readonly type: "object"; readonly properties: {}; }; }; export declare const allSchemas: ({ readonly name: "create_payment_preference"; readonly description: "Creates a Mercado Pago checkout payment preference (payment link). Returns init_point URL for redirecting buyers."; readonly parameters: { readonly type: "object"; readonly required: readonly ["title", "quantity", "currency", "unit_price"]; readonly properties: { readonly title: { readonly type: "string"; readonly description: "Product or service title"; }; readonly quantity: { readonly type: "number"; readonly description: "Quantity of items"; }; readonly currency: { readonly type: "string"; readonly description: "Currency ID (e.g. ARS, BRL, MXN, CLP, COP, UYU, PEN)"; }; readonly unit_price: { readonly type: "number"; readonly description: "Unit price of the item"; }; readonly back_urls: { readonly type: "object"; readonly description: "URLs to redirect the buyer after payment"; readonly properties: { readonly success: { readonly type: "string"; readonly description: "URL on approved payment"; }; readonly failure: { readonly type: "string"; readonly description: "URL on rejected payment"; }; readonly pending: { readonly type: "string"; readonly description: "URL on pending payment"; }; }; }; readonly notification_url: { readonly type: "string"; readonly description: "Webhook URL for payment notifications (IPN)"; }; }; }; } | { readonly name: "get_payment"; readonly description: "Retrieve a payment by its ID. Returns full payment details including status, amount, payer info."; readonly parameters: { readonly type: "object"; readonly required: readonly ["payment_id"]; readonly properties: { readonly payment_id: { readonly type: "string"; readonly description: "The payment ID to look up"; }; }; }; } | { readonly name: "create_refund"; readonly description: "Refund a payment fully or partially. Omit amount for full refund."; readonly parameters: { readonly type: "object"; readonly required: readonly ["payment_id"]; readonly properties: { readonly payment_id: { readonly type: "string"; readonly description: "The payment ID to refund"; }; readonly amount: { readonly type: "number"; readonly description: "Partial refund amount. Omit for full refund."; }; }; }; } | { readonly name: "search_payments"; readonly description: "Search recent payments for the authenticated merchant. Supports filtering by status."; readonly parameters: { readonly type: "object"; readonly properties: { readonly status: { readonly type: "string"; readonly description: "Filter by status: approved, pending, rejected, refunded, cancelled"; }; readonly sort: { readonly type: "string"; readonly description: "Sort field (e.g. date_created)"; }; readonly criteria: { readonly type: "string"; readonly description: "Sort order: asc or desc"; }; readonly limit: { readonly type: "number"; readonly description: "Max results (default 30, max 100)"; }; readonly offset: { readonly type: "number"; readonly description: "Pagination offset"; }; }; }; } | { readonly name: "get_merchant_info"; readonly description: "Retrieve the authenticated merchant's user profile including ID, nickname, and site."; readonly parameters: { readonly type: "object"; readonly properties: {}; }; })[];