export type ExchangeRateCardVariant = 'default' | 'metric';

export interface ExchangeRateCardProps {
    id: string;
    label: string;
    value: string;
    icon: string;
    variant: ExchangeRateCardVariant;
}

export interface ExchangeRateNativeLink {
    href: string;
    inertia: false;
}

export interface ExchangeRateDestroyAction {
    href: string;
    confirm: {
        title: string;
        message: string;
        label: string;
    };
}

export interface ExchangeRateShowPageProps {
    exchangeRate: {
        id: string;
        pair: string;
        cards: ExchangeRateCardProps[];
    };
    backLink: ExchangeRateNativeLink;
    editLink: ExchangeRateNativeLink;
    destroyAction: ExchangeRateDestroyAction;
}
