import { type FetchWithValidationOptions } from "./client.js"; import type { UseSuppliersOptions } from "./hooks/use-suppliers.js"; import type { SupplierAvailabilityFilters } from "./query-keys.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; type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other"; status: "pending" | "active" | "inactive"; description: string | null; email: string | null; phone: string | null; website: string | null; address: string | null; city: string | null; country: string | null; defaultCurrency: string | null; contactName: string | null; contactEmail: string | null; contactPhone: string | null; tags: string[]; createdAt: string; updatedAt: string; paymentTermsDays?: number | null | undefined; reservationTimeoutMinutes?: number | null | undefined; customerPaymentPolicy?: { deposit: { kind: "none" | "percent" | "fixed_cents"; percent?: number | undefined; amountCents?: number | undefined; }; minDaysBeforeDepartureForDeposit: number; balanceDueDaysBeforeDeparture: number; balanceDueMinDaysFromNow: number; } | null | undefined; }[]; total: number; limit: number; offset: number; }, readonly ["voyant", "suppliers", "suppliers", "list", import("./query-keys.js").SuppliersListFilters], never> | undefined; } & { queryKey: readonly ["voyant", "suppliers", "suppliers", "list", import("./query-keys.js").SuppliersListFilters] & { [dataTagSymbol]: { data: { id: string; name: string; type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other"; status: "pending" | "active" | "inactive"; description: string | null; email: string | null; phone: string | null; website: string | null; address: string | null; city: string | null; country: string | null; defaultCurrency: string | null; contactName: string | null; contactEmail: string | null; contactPhone: string | null; tags: string[]; createdAt: string; updatedAt: string; paymentTermsDays?: number | null | undefined; reservationTimeoutMinutes?: number | null | undefined; customerPaymentPolicy?: { deposit: { kind: "none" | "percent" | "fixed_cents"; percent?: number | undefined; amountCents?: number | undefined; }; minDaysBeforeDepartureForDeposit: number; balanceDueDaysBeforeDeparture: number; balanceDueMinDaysFromNow: number; } | null | undefined; }[]; total: number; limit: number; offset: number; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; name: string; type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other"; status: "pending" | "active" | "inactive"; description: string | null; email: string | null; phone: string | null; website: string | null; address: string | null; city: string | null; country: string | null; defaultCurrency: string | null; contactName: string | null; contactEmail: string | null; contactPhone: string | null; tags: string[]; createdAt: string; updatedAt: string; paymentTermsDays?: number | null | undefined; reservationTimeoutMinutes?: number | null | undefined; customerPaymentPolicy?: { deposit: { kind: "none" | "percent" | "fixed_cents"; percent?: number | undefined; amountCents?: number | undefined; }; minDaysBeforeDepartureForDeposit: number; balanceDueDaysBeforeDeparture: number; balanceDueMinDaysFromNow: number; } | null | undefined; }; }, readonly ["voyant", "suppliers", "suppliers", "detail", string], never> | undefined; } & { queryKey: readonly ["voyant", "suppliers", "suppliers", "detail", string] & { [dataTagSymbol]: { data: { id: string; name: string; type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other"; status: "pending" | "active" | "inactive"; description: string | null; email: string | null; phone: string | null; website: string | null; address: string | null; city: string | null; country: string | null; defaultCurrency: string | null; contactName: string | null; contactEmail: string | null; contactPhone: string | null; tags: string[]; createdAt: string; updatedAt: string; paymentTermsDays?: number | null | undefined; reservationTimeoutMinutes?: number | null | undefined; customerPaymentPolicy?: { deposit: { kind: "none" | "percent" | "fixed_cents"; percent?: number | undefined; amountCents?: number | undefined; }; minDaysBeforeDepartureForDeposit: number; balanceDueDaysBeforeDeparture: number; balanceDueMinDaysFromNow: number; } | null | undefined; }; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierServicesQueryOptions(client: FetchWithValidationOptions, supplierId: string): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; supplierId: string; serviceType: "transfer" | "guide" | "experience" | "other" | "accommodation" | "meal"; name: string; description: string | null; duration: string | null; capacity: number | null; active: boolean; tags: string[]; createdAt: string; updatedAt: string; }[]; }, readonly ["voyant", "suppliers", "services", "list", string], never> | undefined; } & { queryKey: readonly ["voyant", "suppliers", "services", "list", string] & { [dataTagSymbol]: { data: { id: string; supplierId: string; serviceType: "transfer" | "guide" | "experience" | "other" | "accommodation" | "meal"; name: string; description: string | null; duration: string | null; capacity: number | null; active: boolean; tags: string[]; createdAt: string; updatedAt: string; }[]; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierNotesQueryOptions(client: FetchWithValidationOptions, supplierId: string): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; supplierId: string; authorId: string; content: string; createdAt: string; }[]; }, readonly ["voyant", "suppliers", "notes", "list", string], never> | undefined; } & { queryKey: readonly ["voyant", "suppliers", "notes", "list", string] & { [dataTagSymbol]: { data: { id: string; supplierId: string; authorId: string; content: string; createdAt: string; }[]; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierContactPointsQueryOptions(client: FetchWithValidationOptions, supplierId: string): import("@tanstack/react-query").OmitKeyof | null; createdAt: string; updatedAt: string; }[]; }, Error, { data: { id: string; entityType: string; entityId: string; kind: "website" | "email" | "other" | "phone" | "mobile" | "whatsapp" | "sms" | "fax" | "social"; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; }, readonly ["voyant", "suppliers", "contact-points", "list", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; entityType: string; entityId: string; kind: "website" | "email" | "other" | "phone" | "mobile" | "whatsapp" | "sms" | "fax" | "social"; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; }, readonly ["voyant", "suppliers", "contact-points", "list", string], never> | undefined; } & { queryKey: readonly ["voyant", "suppliers", "contact-points", "list", string] & { [dataTagSymbol]: { data: { id: string; entityType: string; entityId: string; kind: "website" | "email" | "other" | "phone" | "mobile" | "whatsapp" | "sms" | "fax" | "social"; label: string | null; value: string; normalizedValue: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierContactsQueryOptions(client: FetchWithValidationOptions, supplierId: string): import("@tanstack/react-query").OmitKeyof | null; createdAt: string; updatedAt: string; }[]; }, Error, { data: { id: string; entityType: string; entityId: string; role: "other" | "general" | "primary" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting" | "legal"; name: string; title: string | null; email: string | null; phone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; }, readonly ["voyant", "suppliers", "contacts", "list", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; entityType: string; entityId: string; role: "other" | "general" | "primary" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting" | "legal"; name: string; title: string | null; email: string | null; phone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; }, readonly ["voyant", "suppliers", "contacts", "list", string], never> | undefined; } & { queryKey: readonly ["voyant", "suppliers", "contacts", "list", string] & { [dataTagSymbol]: { data: { id: string; entityType: string; entityId: string; role: "other" | "general" | "primary" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting" | "legal"; name: string; title: string | null; email: string | null; phone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierAddressesQueryOptions(client: FetchWithValidationOptions, supplierId: string): import("@tanstack/react-query").OmitKeyof | null; createdAt: string; updatedAt: string; }[]; }, Error, { data: { id: string; entityType: string; entityId: string; label: "other" | "primary" | "legal" | "billing" | "shipping" | "mailing" | "meeting" | "service"; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; }, readonly ["voyant", "suppliers", "addresses", "list", string]>, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; entityType: string; entityId: string; label: "other" | "primary" | "legal" | "billing" | "shipping" | "mailing" | "meeting" | "service"; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; }, readonly ["voyant", "suppliers", "addresses", "list", string], never> | undefined; } & { queryKey: readonly ["voyant", "suppliers", "addresses", "list", string] & { [dataTagSymbol]: { data: { id: string; entityType: string; entityId: string; label: "other" | "primary" | "legal" | "billing" | "shipping" | "mailing" | "meeting" | "service"; fullText: string | null; line1: string | null; line2: string | null; city: string | null; region: string | null; postalCode: string | null; country: string | null; latitude: number | null; longitude: number | null; timezone: string | null; isPrimary: boolean; notes: string | null; metadata: Record | null; createdAt: string; updatedAt: string; }[]; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierAvailabilityQueryOptions(client: FetchWithValidationOptions, supplierId: string, filters?: SupplierAvailabilityFilters): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; supplierId: string; date: string; available: boolean; notes: string | null; createdAt: string; }[]; }, readonly ["voyant", "suppliers", "availability", "list", string, SupplierAvailabilityFilters], never> | undefined; } & { queryKey: readonly ["voyant", "suppliers", "availability", "list", string, SupplierAvailabilityFilters] & { [dataTagSymbol]: { data: { id: string; supplierId: string; date: string; available: boolean; notes: string | null; createdAt: string; }[]; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierContractsQueryOptions(client: FetchWithValidationOptions, supplierId: string): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; supplierId: string; agreementNumber: string | null; startDate: string; endDate: string | null; renewalDate: string | null; terms: string | null; status: "pending" | "active" | "expired" | "terminated"; createdAt: string; updatedAt: string; }[]; }, readonly ["voyant", "suppliers", "contracts", "list", string], never> | undefined; } & { queryKey: readonly ["voyant", "suppliers", "contracts", "list", string] & { [dataTagSymbol]: { data: { id: string; supplierId: string; agreementNumber: string | null; startDate: string; endDate: string | null; renewalDate: string | null; terms: string | null; status: "pending" | "active" | "expired" | "terminated"; createdAt: string; updatedAt: string; }[]; }; [dataTagErrorSymbol]: Error; }; }; export declare function getSupplierServiceRatesQueryOptions(client: FetchWithValidationOptions, supplierId: string, serviceId: string): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction<{ data: { id: string; serviceId: string; name: string; currency: string; amountCents: number; unit: "flat" | "per_person" | "per_group" | "per_night" | "per_vehicle"; validFrom: string | null; validTo: string | null; minPax: number | null; maxPax: number | null; notes: string | null; createdAt: string; }[]; }, readonly ["voyant", "suppliers", "rates", "list", string, string], never> | undefined; } & { queryKey: readonly ["voyant", "suppliers", "rates", "list", string, string] & { [dataTagSymbol]: { data: { id: string; serviceId: string; name: string; currency: string; amountCents: number; unit: "flat" | "per_person" | "per_group" | "per_night" | "per_vehicle"; validFrom: string | null; validTo: string | null; minPax: number | null; maxPax: number | null; notes: string | null; createdAt: string; }[]; }; [dataTagErrorSymbol]: Error; }; };