import React from 'react'; import { useStripeTerminal } from '../index'; /** * Public SDK functions and state returned by {@link useStripeTerminal} and * injected by {@link withStripeTerminal}. Use inside {@link StripeTerminalProvider}. * * @interface */ export type WithStripeTerminalProps = ReturnType; /** * withStripeTerminal HoC Component * * @example * ```ts * function YourScreenComponent(props: WithStripeTerminalProps) { } * * export default withStripeTerminal(YourScreenComponent); * ``` * @param WrappedComponent Component that receives {@link WithStripeTerminalProps} as props. * @returns React.JSX.Element * @category ReactComponents */ export declare function withStripeTerminal(WrappedComponent: React.ComponentType): { (props: Props): React.JSX.Element; displayName: string; };