import { type SupplierCustomerPaymentPolicy } from "../schemas.js"; export interface CreateSupplierInput { name: string; type: "hotel" | "transfer" | "guide" | "experience" | "airline" | "restaurant" | "other"; status?: "active" | "inactive" | "pending"; 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; paymentTermsDays?: number | null; reservationTimeoutMinutes?: number | null; customerPaymentPolicy?: SupplierCustomerPaymentPolicy | null; tags?: string[]; } export type UpdateSupplierInput = Partial; export declare function useSupplierMutation(): { create: import("@tanstack/react-query").UseMutationResult<{ 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; }, Error, CreateSupplierInput, unknown>; update: import("@tanstack/react-query").UseMutationResult<{ 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; }, Error, { id: string; input: UpdateSupplierInput; }, unknown>; remove: import("@tanstack/react-query").UseMutationResult<{ success: boolean; }, Error, string, unknown>; };