import type { ColumnDef } from "@tanstack/react-table"; import type { DistributionUiMessages } from "../i18n/index.js"; import { type DistributionUiI18n } from "../i18n/index.js"; import { type BookingOption, type ChannelBookingLinkRow, type ChannelCommissionRuleRow, type ChannelContractRow, type ChannelProductMappingRow, type ChannelRow, type ChannelWebhookEventRow, cancellationOwnerOptions, channelKindOptions, channelStatusOptions, commissionScopeOptions, commissionTypeOptions, contractStatusOptions, formatSelectionLabel, labelById, NONE_VALUE, nullableNumber, nullableString, type ProductOption, parseJsonRecord, paymentOwnerOptions, formatDateTime as reactFormatDateTime, type SupplierOption, toIsoDateTime, toLocalDateTimeInput, webhookStatusOptions } from "../index.js"; export type BatchMutationResponse = { data?: T[]; deletedIds?: string[]; total: number; succeeded: number; failed: Array<{ id: string; error: string; }>; }; export type { BookingOption, ChannelBookingLinkRow, ChannelCommissionRuleRow, ChannelContractRow, ChannelProductMappingRow, ChannelRow, ChannelWebhookEventRow, ProductOption, SupplierOption, }; export { cancellationOwnerOptions, channelKindOptions, channelStatusOptions, commissionScopeOptions, commissionTypeOptions, contractStatusOptions, formatSelectionLabel, labelById, NONE_VALUE, nullableNumber, nullableString, parseJsonRecord, paymentOwnerOptions, reactFormatDateTime as formatDateTime, toIsoDateTime, toLocalDateTimeInput, webhookStatusOptions, }; export declare function formatDistributionDateTime(value: Date | string | number | null | undefined, i18n?: DistributionUiI18n): string; export declare function formatDistributionDate(value: Date | string | number | null | undefined, i18n?: DistributionUiI18n): string; export declare function getChannelKindLabel(kind: ChannelRow["kind"], messages: DistributionUiMessages): string; export declare function getChannelStatusLabel(status: ChannelRow["status"], messages: DistributionUiMessages): string; export declare function getContractStatusLabel(status: ChannelContractRow["status"], messages: DistributionUiMessages): string; export declare function getPaymentOwnerLabel(paymentOwner: ChannelContractRow["paymentOwner"], messages: DistributionUiMessages): string; export declare function getCommissionScopeLabel(scope: ChannelCommissionRuleRow["scope"], messages: DistributionUiMessages): string; export declare function getCommissionTypeLabel(commissionType: ChannelCommissionRuleRow["commissionType"], messages: DistributionUiMessages): string; export declare function getWebhookStatusLabel(status: ChannelWebhookEventRow["status"], messages: DistributionUiMessages): string; export declare const channelColumns: (onView: (channelId: string) => void, i18n?: DistributionUiI18n) => ColumnDef[]; export declare const contractColumns: (channels: ChannelRow[], suppliers: SupplierOption[], onView: (contractId: string) => void, i18n?: DistributionUiI18n) => ColumnDef[]; export declare const commissionColumns: (_contracts: ChannelContractRow[], products: ProductOption[], onView: (commissionRuleId: string) => void, i18n?: DistributionUiI18n) => ColumnDef[]; export declare const mappingColumns: (channels: ChannelRow[], products: ProductOption[], onView: (mappingId: string) => void, i18n?: DistributionUiI18n) => ColumnDef[]; export declare const bookingLinkColumns: (channels: ChannelRow[], bookings: BookingOption[], onView: (bookingLinkId: string) => void, i18n?: DistributionUiI18n) => ColumnDef[]; export declare const webhookColumns: (channels: ChannelRow[], onView: (webhookEventId: string) => void, i18n?: DistributionUiI18n) => ColumnDef[];