import type { insertPolicySchema, updatePolicySchema } from "@voyant-travel/legal/policies/validation"; import type { z } from "zod"; export type CreateLegalPolicyInput = z.input; export type UpdateLegalPolicyInput = z.input; export declare function useLegalPolicyMutation(): { create: import("@tanstack/react-query").UseMutationResult<{ kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }, Error, { kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; description?: string | null | undefined; language?: string | undefined; metadata?: Record | null | undefined; }, unknown>; update: import("@tanstack/react-query").UseMutationResult<{ kind: "other" | "cancellation" | "payment" | "terms_and_conditions" | "privacy" | "refund" | "commission" | "guarantee"; name: string; slug: string; language: string; id: string; description: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; currentVersionId?: string | null | undefined; }, Error, { id: string; input: UpdateLegalPolicyInput; }, unknown>; remove: import("@tanstack/react-query").UseMutationResult<{ success: boolean; }, Error, string, unknown>; };