import { type FetchWithValidationOptions } from "./client.js"; import type { UseBookingLinksOptions } from "./hooks/use-booking-links.js"; import type { UseBookingsOptions } from "./hooks/use-bookings.js"; import type { UseChannelsOptions } from "./hooks/use-channels.js"; import type { UseCommissionRulesOptions } from "./hooks/use-commission-rules.js"; import type { UseContractsOptions } from "./hooks/use-contracts.js"; import type { UseMappingsOptions } from "./hooks/use-mappings.js"; import type { UseProductsOptions } from "./hooks/use-products.js"; import type { UseEffectivePublicationOptions, UseProductPublicationsOptions, UseSupplierPublicationsOptions } from "./hooks/use-publications.js"; import type { UseSuppliersOptions } from "./hooks/use-suppliers.js"; import type { UseWebhookEventsOptions } from "./hooks/use-webhook-events.js"; export declare function getSuppliersQueryOptions(client: FetchWithValidationOptions, options?: UseSuppliersOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; name: string; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "suppliers", "list", import("./query-keys.js").SuppliersListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "suppliers", "list", import("./query-keys.js").SuppliersListFilters] & { [dataTagSymbol]: { data: { id: string; name: string; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; name: string; }; }, readonly ["voyant", "distribution", "suppliers", "detail", string], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "suppliers", "detail", string] & { [dataTagSymbol]: { data: { id: string; name: string; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getProductsQueryOptions(client: FetchWithValidationOptions, options?: UseProductsOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; name: string; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "products", "list", import("./query-keys.js").ProductsListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "products", "list", import("./query-keys.js").ProductsListFilters] & { [dataTagSymbol]: { data: { id: string; name: string; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getProductQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; name: string; }; }, readonly ["voyant", "distribution", "products", "detail", string], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "products", "detail", string] & { [dataTagSymbol]: { data: { id: string; name: string; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getBookingsQueryOptions(client: FetchWithValidationOptions, options?: UseBookingsOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; bookingNumber: string; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "bookings", "list", import("./query-keys.js").BookingsListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "bookings", "list", import("./query-keys.js").BookingsListFilters] & { [dataTagSymbol]: { data: { id: string; bookingNumber: string; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getBookingQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; bookingNumber: string; }; }, readonly ["voyant", "distribution", "bookings", "detail", string], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "bookings", "detail", string] & { [dataTagSymbol]: { data: { id: string; bookingNumber: string; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getChannelsQueryOptions(client: FetchWithValidationOptions, options?: UseChannelsOptions): import("@tanstack/react-query").OmitKeyof | null; }[]; total: number; limit: number; offset: number; }, Error, { data: { id: string; name: string; kind: "direct" | "affiliate" | "ota" | "reseller" | "marketplace" | "api_partner" | "connect"; status: "pending" | "active" | "inactive" | "archived"; website: string | null; contactName: string | null; contactEmail: string | null; metadata: Record | null; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "channels", "list", import("./query-keys.js").ChannelsListFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; name: string; kind: "direct" | "affiliate" | "ota" | "reseller" | "marketplace" | "api_partner" | "connect"; status: "pending" | "active" | "inactive" | "archived"; website: string | null; contactName: string | null; contactEmail: string | null; metadata: Record | null; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "channels", "list", import("./query-keys.js").ChannelsListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "channels", "list", import("./query-keys.js").ChannelsListFilters] & { [dataTagSymbol]: { data: { id: string; name: string; kind: "direct" | "affiliate" | "ota" | "reseller" | "marketplace" | "api_partner" | "connect"; status: "pending" | "active" | "inactive" | "archived"; website: string | null; contactName: string | null; contactEmail: string | null; metadata: Record | null; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getChannelQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined): import("@tanstack/react-query").OmitKeyof | null; createdAt: string; updatedAt: string; }; }, Error, { data: { id: string; name: string; kind: "direct" | "affiliate" | "ota" | "reseller" | "marketplace" | "api_partner" | "connect"; status: "pending" | "active" | "inactive" | "archived"; website: string | null; contactName: string | null; contactEmail: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }; }, readonly ["voyant", "distribution", "channels", "detail", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; name: string; kind: "direct" | "affiliate" | "ota" | "reseller" | "marketplace" | "api_partner" | "connect"; status: "pending" | "active" | "inactive" | "archived"; website: string | null; contactName: string | null; contactEmail: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }; }, readonly ["voyant", "distribution", "channels", "detail", string], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "channels", "detail", string] & { [dataTagSymbol]: { data: { id: string; name: string; kind: "direct" | "affiliate" | "ota" | "reseller" | "marketplace" | "api_partner" | "connect"; status: "pending" | "active" | "inactive" | "archived"; website: string | null; contactName: string | null; contactEmail: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getContractsQueryOptions(client: FetchWithValidationOptions, options?: UseContractsOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; channelId: string; supplierId: string | null; status: "active" | "draft" | "expired" | "terminated"; startsAt: string; endsAt: string | null; paymentOwner: "split" | "operator" | "channel"; cancellationOwner: "operator" | "channel" | "mixed"; settlementTerms: string | null; notes: string | null; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "contracts", "list", import("./query-keys.js").ContractsListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "contracts", "list", import("./query-keys.js").ContractsListFilters] & { [dataTagSymbol]: { data: { id: string; channelId: string; supplierId: string | null; status: "active" | "draft" | "expired" | "terminated"; startsAt: string; endsAt: string | null; paymentOwner: "split" | "operator" | "channel"; cancellationOwner: "operator" | "channel" | "mixed"; settlementTerms: string | null; notes: string | null; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getContractQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; channelId: string; supplierId: string | null; status: "active" | "draft" | "expired" | "terminated"; startsAt: string; endsAt: string | null; paymentOwner: "split" | "operator" | "channel"; cancellationOwner: "operator" | "channel" | "mixed"; settlementTerms: string | null; notes: string | null; createdAt: string; updatedAt: string; }; }, readonly ["voyant", "distribution", "contracts", "detail", string], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "contracts", "detail", string] & { [dataTagSymbol]: { data: { id: string; channelId: string; supplierId: string | null; status: "active" | "draft" | "expired" | "terminated"; startsAt: string; endsAt: string | null; paymentOwner: "split" | "operator" | "channel"; cancellationOwner: "operator" | "channel" | "mixed"; settlementTerms: string | null; notes: string | null; createdAt: string; updatedAt: string; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getCommissionRulesQueryOptions(client: FetchWithValidationOptions, options?: UseCommissionRulesOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; contractId: string; scope: "booking" | "product" | "rate" | "category"; productId: string | null; externalRateId: string | null; externalCategoryId: string | null; commissionType: "fixed" | "percentage"; amountCents: number | null; percentBasisPoints: number | null; validFrom: string | null; validTo: string | null; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "commission-rules", "list", import("./query-keys.js").CommissionRulesListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "commission-rules", "list", import("./query-keys.js").CommissionRulesListFilters] & { [dataTagSymbol]: { data: { id: string; contractId: string; scope: "booking" | "product" | "rate" | "category"; productId: string | null; externalRateId: string | null; externalCategoryId: string | null; commissionType: "fixed" | "percentage"; amountCents: number | null; percentBasisPoints: number | null; validFrom: string | null; validTo: string | null; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getCommissionRuleQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; contractId: string; scope: "booking" | "product" | "rate" | "category"; productId: string | null; externalRateId: string | null; externalCategoryId: string | null; commissionType: "fixed" | "percentage"; amountCents: number | null; percentBasisPoints: number | null; validFrom: string | null; validTo: string | null; createdAt: string; updatedAt: string; }; }, readonly ["voyant", "distribution", "commission-rules", "detail", string], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "commission-rules", "detail", string] & { [dataTagSymbol]: { data: { id: string; contractId: string; scope: "booking" | "product" | "rate" | "category"; productId: string | null; externalRateId: string | null; externalCategoryId: string | null; commissionType: "fixed" | "percentage"; amountCents: number | null; percentBasisPoints: number | null; validFrom: string | null; validTo: string | null; createdAt: string; updatedAt: string; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getMappingsQueryOptions(client: FetchWithValidationOptions, options?: UseMappingsOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; channelId: string; productId: string; externalProductId: string; externalRateId: string | null; externalCategoryId: string | null; active: boolean; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "product-mappings", "list", import("./query-keys.js").MappingsListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "product-mappings", "list", import("./query-keys.js").MappingsListFilters] & { [dataTagSymbol]: { data: { id: string; channelId: string; productId: string; externalProductId: string; externalRateId: string | null; externalCategoryId: string | null; active: boolean; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getMappingQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; channelId: string; productId: string; externalProductId: string; externalRateId: string | null; externalCategoryId: string | null; active: boolean; createdAt: string; updatedAt: string; }; }, readonly ["voyant", "distribution", "product-mappings", "detail", string], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "product-mappings", "detail", string] & { [dataTagSymbol]: { data: { id: string; channelId: string; productId: string; externalProductId: string; externalRateId: string | null; externalCategoryId: string | null; active: boolean; createdAt: string; updatedAt: string; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getProductPublicationsQueryOptions(client: FetchWithValidationOptions, options?: UseProductPublicationsOptions): import("@tanstack/react-query").OmitKeyof | null; createdAt: string; updatedAt: string; }[]; total: number; limit: number; offset: number; }, Error, { data: { id: string; channelId: string; productId: string; decision: "include" | "exclude"; reason: string | null; createdBy: string | null; updatedBy: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "product-publications", "list", import("./query-keys.js").ProductPublicationsListFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; channelId: string; productId: string; decision: "include" | "exclude"; reason: string | null; createdBy: string | null; updatedBy: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "product-publications", "list", import("./query-keys.js").ProductPublicationsListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "product-publications", "list", import("./query-keys.js").ProductPublicationsListFilters] & { [dataTagSymbol]: { data: { id: string; channelId: string; productId: string; decision: "include" | "exclude"; reason: string | null; createdBy: string | null; updatedBy: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierPublicationsQueryOptions(client: FetchWithValidationOptions, options?: UseSupplierPublicationsOptions): import("@tanstack/react-query").OmitKeyof | null; createdAt: string; updatedAt: string; }[]; total: number; limit: number; offset: number; }, Error, { data: { id: string; channelId: string; supplierId: string; decision: "include" | "exclude"; reason: string | null; createdBy: string | null; updatedBy: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "supplier-publications", "list", import("./query-keys.js").SupplierPublicationsListFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; channelId: string; supplierId: string; decision: "include" | "exclude"; reason: string | null; createdBy: string | null; updatedBy: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "supplier-publications", "list", import("./query-keys.js").SupplierPublicationsListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "supplier-publications", "list", import("./query-keys.js").SupplierPublicationsListFilters] & { [dataTagSymbol]: { data: { id: string; channelId: string; supplierId: string; decision: "include" | "exclude"; reason: string | null; createdBy: string | null; updatedBy: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getEffectivePublicationQueryOptions(client: FetchWithValidationOptions, options: UseEffectivePublicationOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { channelId: string; productId: string; canonicalSupplierId: string | null; published: boolean; decision: "include" | "exclude" | null; reason: "channel_missing" | "channel_inactive" | "product_decision" | "supplier_decision" | "default_deny" | "product_missing_supplier" | "product_eligibility"; source: "default" | "product" | "channel" | "supplier" | "eligibility"; ruleId: string | null; message: string; }; }, readonly ["voyant", "distribution", "effective-publication", string, string, string | null], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "effective-publication", string, string, string | null] & { [dataTagSymbol]: { data: { channelId: string; productId: string; canonicalSupplierId: string | null; published: boolean; decision: "include" | "exclude" | null; reason: "channel_missing" | "channel_inactive" | "product_decision" | "supplier_decision" | "default_deny" | "product_missing_supplier" | "product_eligibility"; source: "default" | "product" | "channel" | "supplier" | "eligibility"; ruleId: string | null; message: string; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getBookingLinksQueryOptions(client: FetchWithValidationOptions, options?: UseBookingLinksOptions): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; channelId: string; bookingId: string; externalBookingId: string | null; externalReference: string | null; externalStatus: string | null; bookedAtExternal: string | null; lastSyncedAt: string | null; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "booking-links", "list", import("./query-keys.js").BookingLinksListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "booking-links", "list", import("./query-keys.js").BookingLinksListFilters] & { [dataTagSymbol]: { data: { id: string; channelId: string; bookingId: string; externalBookingId: string | null; externalReference: string | null; externalStatus: string | null; bookedAtExternal: string | null; lastSyncedAt: string | null; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getBookingLinkQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; channelId: string; bookingId: string; externalBookingId: string | null; externalReference: string | null; externalStatus: string | null; bookedAtExternal: string | null; lastSyncedAt: string | null; createdAt: string; updatedAt: string; }; }, readonly ["voyant", "distribution", "booking-links", "detail", string], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "booking-links", "detail", string] & { [dataTagSymbol]: { data: { id: string; channelId: string; bookingId: string; externalBookingId: string | null; externalReference: string | null; externalStatus: string | null; bookedAtExternal: string | null; lastSyncedAt: string | null; createdAt: string; updatedAt: string; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getWebhookEventsQueryOptions(client: FetchWithValidationOptions, options?: UseWebhookEventsOptions): import("@tanstack/react-query").OmitKeyof; receivedAt: string | null; processedAt: string | null; status: "pending" | "processed" | "failed" | "ignored"; errorMessage: string | null; }[]; total: number; limit: number; offset: number; }, Error, { data: { id: string; channelId: string; eventType: string; externalEventId: string | null; payload: Record; receivedAt: string | null; processedAt: string | null; status: "pending" | "processed" | "failed" | "ignored"; errorMessage: string | null; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "webhook-events", "list", import("./query-keys.js").WebhookEventsListFilters]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; channelId: string; eventType: string; externalEventId: string | null; payload: Record; receivedAt: string | null; processedAt: string | null; status: "pending" | "processed" | "failed" | "ignored"; errorMessage: string | null; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "distribution", "webhook-events", "list", import("./query-keys.js").WebhookEventsListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "webhook-events", "list", import("./query-keys.js").WebhookEventsListFilters] & { [dataTagSymbol]: { data: { id: string; channelId: string; eventType: string; externalEventId: string | null; payload: Record; receivedAt: string | null; processedAt: string | null; status: "pending" | "processed" | "failed" | "ignored"; errorMessage: string | null; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getWebhookEventQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined): import("@tanstack/react-query").OmitKeyof; receivedAt: string | null; processedAt: string | null; status: "pending" | "processed" | "failed" | "ignored"; errorMessage: string | null; createdAt: string; updatedAt: string; }; }, Error, { data: { id: string; channelId: string; eventType: string; externalEventId: string | null; payload: Record; receivedAt: string | null; processedAt: string | null; status: "pending" | "processed" | "failed" | "ignored"; errorMessage: string | null; createdAt: string; updatedAt: string; }; }, readonly ["voyant", "distribution", "webhook-events", "detail", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; channelId: string; eventType: string; externalEventId: string | null; payload: Record; receivedAt: string | null; processedAt: string | null; status: "pending" | "processed" | "failed" | "ignored"; errorMessage: string | null; createdAt: string; updatedAt: string; }; }, readonly ["voyant", "distribution", "webhook-events", "detail", string], never> | undefined; } & { queryKey: readonly ["voyant", "distribution", "webhook-events", "detail", string] & { [dataTagSymbol]: { data: { id: string; channelId: string; eventType: string; externalEventId: string | null; payload: Record; receivedAt: string | null; processedAt: string | null; status: "pending" | "processed" | "failed" | "ignored"; errorMessage: string | null; createdAt: string; updatedAt: string; }; }; [dataTagErrorSymbol]: Error; }; };