import { DataObserverProps } from '@bluebase/components';
import React from 'react';
export interface DataObserverState {
    readonly isLoading: boolean;
    readonly isEmpty: boolean;
}
/**
 * # ⚡️ DataObserver
 *
 * Observes data to check if it is data is loading, loaded or empty. The resulting flags
 * are passed on to the children function. These flags may be used to show different UIs,
 * i.e. loading state, empty state, etc.
 *
 * ## Usage
 * ```jsx
 * <DataObserver>
 *  <Text>{data}</Text>
 * </DataObserver>
 * ```
 */
export declare class DataObserver extends React.PureComponent<DataObserverProps, DataObserverState> {
    static defaultProps: Partial<DataObserverProps>;
    readonly state: DataObserverState;
    render(): any;
}
