import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query"; import { BaseKey, LogParams } from "../../../interfaces"; declare type LogRenameData = { resource?: string; } | undefined; export declare type UseLogReturnType = { log: UseMutationResult; rename: UseMutationResult; }; export declare 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/core/hooks/audit-log/useLog} for more details. */ export declare const useLog: ({ logMutationOptions, renameMutationOptions, }?: UseLogMutationProps) => UseLogReturnType; export {}; //# sourceMappingURL=index.d.ts.map