///
import LogTable, { LogRow } from "./components/LogTable";
import LogFilters from "./components/LogFilters";
import LogFiltersSidebar from "./components/LogFiltersSidebar";
import type { AxiosRequestConfig } from "axios";
type AuditLogProps = {
configId: string;
getData?: {
baseUrl: string;
endpoint: string;
};
distinctValuesApi?: {
baseUrl: string;
endpoint?: string;
};
restoreApi?: {
baseUrl: string;
endpoint: string;
method?: "POST" | "PUT";
};
query?: {
externalResourceId?: string[];
paginationLimit?: number;
};
filters?: Partial>;
sidebar?: Partial>;
table?: Partial>;
config?: {
showFilters?: boolean;
showSidebar?: boolean;
};
data?: LogRow[];
loading?: boolean;
onLoadMore?: () => void;
hasMore?: boolean;
loadingMore?: boolean;
refetchKey?: string | number;
/**
* Merged into the axios instance used for every request. Pass `adapter` here
* to route requests through a custom transport. Memoize it — a new object
* each render rebuilds the instance.
*/
axiosConfig?: AxiosRequestConfig;
};
export default function AuditLog({ configId, getData, distinctValuesApi, restoreApi, axiosConfig, query, filters, sidebar, table, config, data, loading, loadingMore, onLoadMore, hasMore, refetchKey }: AuditLogProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=AuditLog.d.ts.map