import * as React from "react";
import { CollectionData, FetchErrorData } from "../interfaces";
export interface CollectionProps extends React.HTMLProps<Collection> {
    collection: CollectionData;
    isFetching?: boolean;
    isFetchingPage?: boolean;
    error?: FetchErrorData;
    fetchPage?: (url: string) => Promise<any>;
}
export default class Collection extends React.Component<CollectionProps, any> {
    constructor(props: any);
    render(): JSX.Element;
    componentWillReceiveProps(nextProps: any): void;
    componentDidMount(): void;
    componentWillUnmount(): void;
    canFetch(): string;
    fetch(): void;
    handleScrollOrResize(): void;
    isEmpty(): boolean;
}
