import { Component } from '../../../shared-logic/src/Component/types';
import { DataSet as DataSetType } from '../../../shared-logic/src/DataSet/types';
import { VizzlyComponents } from '../types';
import { FilterConfig } from '../../../shared-logic/src/AdditionalFilter/types';
import { QueryEngineConfig } from '../../../shared-logic/src/QueryEngineConfig/types';
import { UseVariableState } from '../contexts/Variables/types';
export declare const useComponentEffect: <T extends Component.Attributes>(attributes: T, dataSet: DataSetType, queryEngineConfig: QueryEngineConfig, filterConfig: FilterConfig, updateComponentAttributes: (attributes: T) => void, runQueriesCallback: VizzlyComponents.runQueriesCallbackInternal, variables?: UseVariableState | undefined) => {
    queriesAreChanging: boolean;
    results: (import("../../../shared-logic/src/Result/types").Result | null)[];
};
