import { authenticationsTableCellWidth, authorizationTableCellWidth, walletTableCellWidth, walletStatementTableCellWidth, walletDetailsTableCellWidth, topupsTableCellWidth, tokensTableCellWidth, refundTableCellWidth, protectChargesTableCellWidth, payoutsTableCellWidth, ordersTableCellWidth, invoicesTableCellWidth, leadsTableCellWidth, intentsTableCellWidth, chargeTableCellWidth, protectAuthorizationsTableCellWidth, destinationsTableCellWidth, merchantsTableCellWidth, terminalsTableCellWidth, orchestrationTerminalsTableCellWidth, orchestrationRoutingTableCellWidth } from '../constants/index.js'; import { IVirtualTable } from './index.js'; export type AuthenticationsTableCellID = keyof typeof authenticationsTableCellWidth; export type AuthorizationTableCellID = keyof typeof authorizationTableCellWidth; export type WalletTableCellID = keyof typeof walletTableCellWidth; export type WalletStatementTableCellID = keyof typeof walletStatementTableCellWidth; export type WalletDetailsTableCellID = keyof typeof walletDetailsTableCellWidth; export type TopupsTableCellID = keyof typeof topupsTableCellWidth; export type TokensTableCellID = keyof typeof tokensTableCellWidth; export type RefundTableCellID = keyof typeof refundTableCellWidth; export type ProtectChargesTableCellID = keyof typeof protectChargesTableCellWidth; export type PayoutsTableCellID = keyof typeof payoutsTableCellWidth; export type OrdersTableCellID = keyof typeof ordersTableCellWidth; export type InvoicesTableCellID = keyof typeof invoicesTableCellWidth; export type LeadsTableCellID = keyof typeof leadsTableCellWidth; export type IntentsTableCellID = keyof typeof intentsTableCellWidth; export type ChargeTableCellID = keyof typeof chargeTableCellWidth; export type ProtectAuthorizationsTableCellID = keyof typeof protectAuthorizationsTableCellWidth; export type DestinationsTableCellID = keyof typeof destinationsTableCellWidth; export type MerchantsTableCellID = keyof typeof merchantsTableCellWidth; export type TerminalsTableCellID = keyof typeof terminalsTableCellWidth; export type OrchestrationTerminalsTableCellID = keyof typeof orchestrationTerminalsTableCellWidth; export type RoutingTableCellID = keyof typeof orchestrationRoutingTableCellWidth; export type TableCellWidthProps = { tableMode: NonNullable; } & ({ table: 'charge'; cellID: ChargeTableCellID; } | { table: 'refund'; cellID: RefundTableCellID; } | { table: 'authorization'; cellID: AuthorizationTableCellID; } | { table: 'intents'; cellID: IntentsTableCellID; } | { table: 'topups'; cellID: TopupsTableCellID; } | { table: 'destinations'; cellID: DestinationsTableCellID; } | { table: 'leads'; cellID: LeadsTableCellID; } | { table: 'orders'; cellID: OrdersTableCellID; } | { table: 'tokens'; cellID: TokensTableCellID; } | { table: 'payouts'; cellID: PayoutsTableCellID; } | { table: 'protectCharges'; cellID: ProtectChargesTableCellID; } | { table: 'protectAuthorizations'; cellID: ProtectAuthorizationsTableCellID; } | { table: 'wallet'; cellID: WalletTableCellID; } | { table: 'invoices'; cellID: InvoicesTableCellID; } | { table: 'authentications'; cellID: AuthenticationsTableCellID; } | { table: 'walletDetails'; cellID: WalletDetailsTableCellID; } | { table: 'walletStatement'; cellID: WalletStatementTableCellID; } | { table: 'merchants'; cellID: MerchantsTableCellID; } | { table: 'terminals'; cellID: TerminalsTableCellID; } | { table: 'orchestrationTerminals'; cellID: OrchestrationTerminalsTableCellID; } | { table: 'orchestrationRouting'; cellID: RoutingTableCellID; });