import { type UseQueryOptions, type UseQueryResult } from "@tanstack/react-query"; import type { HttpError } from "../../../contexts/data/types"; import type { MakeOptional } from "../../../definitions/types"; export type UseLogProps = { resource: string; action?: string; meta?: Record; author?: Record; queryOptions?: MakeOptional, "queryKey" | "queryFn">; }; /** * useLogList is used to get and filter audit logs. * * @see {@link https://refine.dev/docs/api-reference/core/hooks/audit-log/useLogList} for more details. * * @typeParam TQueryFnData - Result data returned by the query function. * @typeParam TError - Custom error object that extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#httperror `HttpError`} * @typeParam TData - Result data returned by the `select` function. Defaults to `TQueryFnData` * */ export declare const useLogList: ({ resource, action, meta, author, queryOptions, }: UseLogProps) => UseQueryResult; //# sourceMappingURL=index.d.ts.map