import { SupportedChainId } from '@smartinvoicexyz/constants';
export type SubgraphHealth = {
    hasIndexingErrors: boolean;
    hasSynced: boolean;
};
export type SubgraphHealthReturnType = {
    health: Record<SupportedChainId, SubgraphHealth> | undefined;
    isLoading: boolean;
    error: Error | null;
};
export declare const useSubgraphHealth: () => SubgraphHealthReturnType;
