import * as React from 'react'; import { ReactNode } from 'react'; import { InfiniteListControllerProps, InfiniteListControllerResult } from "./useInfiniteListController.js"; import { RaRecord } from "../../types.js"; /** * Call useInfiniteListController and put the value in a ListContext * * Base class for components, without UI. * * Accepts any props accepted by useInfiniteListController: * - filter: permanent filter applied to the list * - filters: Filter element, to display the filters * - filterDefaultValues: object; * - perPage: Number of results per page * - sort: Default sort * - exporter: exported function * * @example // Custom list layout * * const PostList = () => ( * *
* List metrics... *
* * * record.title} /> * * * List instructions... * * *
* Post related links... *
* * ); */ export declare const InfiniteListBase: ({ authLoading, loading, offline, error, empty, children, render, ...props }: InfiniteListBaseProps) => React.JSX.Element; export interface InfiniteListBaseProps extends InfiniteListControllerProps { authLoading?: ReactNode; loading?: ReactNode; offline?: ReactNode; error?: ReactNode; empty?: ReactNode; children?: ReactNode; render?: (props: InfiniteListControllerResult) => ReactNode; } //# sourceMappingURL=InfiniteListBase.d.ts.map