import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query"; import type { LogParams } from "../../../contexts/auditLog/types"; import type { BaseKey } from "../../../contexts/data/types"; type LogRenameData = { resource?: string; } | undefined; export type UseLogReturnType = { log: UseMutationResult; rename: UseMutationResult; }; export type UseLogMutationProps = { logMutationOptions?: Omit, "mutationFn">; renameMutationOptions?: Omit, "mutationFn" | "onSuccess">; }; /** * useLog is used to `create` a new and `rename` the existing audit log. * @see {@link https://refine.dev/docs/api-reference/core/hooks/audit-log/useLog} for more details. */ export declare const useLog: ({ logMutationOptions, renameMutationOptions, }?: UseLogMutationProps) => UseLogReturnType; export {}; //# sourceMappingURL=index.d.ts.map