import React from 'react'; import { Eligibility } from '../../constants'; import { Customer, CustomerSegment, Field } from '../../types'; export interface CustomerEligibilityCardProps { /** * Controls whether the discount is applied to all customers, specific customers, or specific customer groups */ eligibility: Field; /** * Widget that enables users to select customers (see docs for an example) */ customerSelector: React.ReactNode; /** * List of customers that the discount will be applied to */ selectedCustomers: Field; /** * Widget that enables users to select customer segments (see docs for an example) */ customerSegmentSelector: React.ReactNode; /** * List of customer segments that the discount will be applied to */ selectedCustomerSegments: Field; } export declare function CustomerEligibilityCard({ eligibility, customerSelector, selectedCustomers, customerSegmentSelector, selectedCustomerSegments, }: CustomerEligibilityCardProps): React.JSX.Element; export declare const SelectedCustomersList: ({ selectedCustomers, }: { selectedCustomers: Field; }) => React.JSX.Element; export declare const SelectedCustomerSegmentsList: ({ selectedCustomerSegments, }: { selectedCustomerSegments: Field; }) => React.JSX.Element;