import type { insertExternalRefSchema, updateExternalRefSchema } from "@voyant-travel/distribution"; import type { z } from "zod"; export type CreateExternalRefInput = z.input; export type UpdateExternalRefInput = z.input; export declare function useExternalRefMutation(): { create: import("@tanstack/react-query").UseMutationResult<{ entityType: string; entityId: string; sourceSystem: string; objectType: string; namespace: string; externalId: string; isPrimary: boolean; status: "active" | "inactive" | "archived"; id: string; externalParentId: string | null; lastSyncedAt: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; }, Error, { entityType: string; entityId: string; sourceSystem: string; objectType: string; externalId: string; namespace?: string | undefined; externalParentId?: string | null | undefined; isPrimary?: boolean | undefined; status?: "active" | "inactive" | "archived" | undefined; lastSyncedAt?: string | null | undefined; metadata?: Record | null | undefined; }, unknown>; update: import("@tanstack/react-query").UseMutationResult<{ entityType: string; entityId: string; sourceSystem: string; objectType: string; namespace: string; externalId: string; isPrimary: boolean; status: "active" | "inactive" | "archived"; id: string; externalParentId: string | null; lastSyncedAt: string | null; createdAt: string; updatedAt: string; metadata?: Record | null | undefined; }, Error, { id: string; input: UpdateExternalRefInput; }, unknown>; remove: import("@tanstack/react-query").UseMutationResult<{ success: boolean; }, Error, string, unknown>; };