import type { insertPolicyVersionSchema, updatePolicyVersionSchema } from "@voyant-travel/legal/policies/validation"; import type { z } from "zod"; export type CreateLegalPolicyVersionInput = z.input; export type UpdateLegalPolicyVersionInput = z.input; export declare function useLegalPolicyVersionMutation(): { create: import("@tanstack/react-query").UseMutationResult<{ title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; }, Error, { policyId: string; input: CreateLegalPolicyVersionInput; }, unknown>; update: import("@tanstack/react-query").UseMutationResult<{ title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; }, Error, { id: string; input: UpdateLegalPolicyVersionInput; }, unknown>; publish: import("@tanstack/react-query").UseMutationResult<{ title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; }, Error, string, unknown>; retire: import("@tanstack/react-query").UseMutationResult<{ title: string; id: string; policyId: string; version: number; status: "draft" | "published" | "retired"; body: string | null; publishedAt: string | null; publishedBy: string | null; createdAt: string; updatedAt: string; retiredAt?: string | null | undefined; metadata?: Record | null | undefined; }, Error, string, unknown>; };