import React from 'react'; interface CaptureButtonProps { order: { canCapture: boolean; captureApi: string; }; } /** * The one capture button, owned by core (OMS), not by any payment module. Shown * automatically for every payment method whose `Order.canCapture` is true * (capability + capturable status), and posts to the single core capture route. * No per-gateway button, no per-gateway route. */ export default function CaptureButton({ order: { canCapture, captureApi } }: CaptureButtonProps): React.JSX.Element; export declare const layout: { areaId: string; sortOrder: number; }; export declare const query = "\n query Query {\n order(uuid: getContextValue(\"orderId\")) {\n canCapture\n captureApi\n }\n }\n"; export {};