import { type IExecutionResult } from "@gooddata/sdk-backend-spi";
import { type IResultWarning, type ObjRef } from "@gooddata/sdk-model";
import { type IPushData, type OnError, type OnLoadingChanged } from "@gooddata/sdk-ui";
/**
 * Provides callbacks to integrate with the executionResults slice.
 * @internal
 */
export declare function useWidgetExecutionsHandler(widgetRef: ObjRef): {
    onLoadingChanged: OnLoadingChanged;
    onError: OnError;
    onSuccess: (executionResult: IExecutionResult, warnings: IResultWarning[] | undefined) => void;
    onPushData: (data: IPushData) => void;
};
//# sourceMappingURL=useWidgetExecutionsHandler.d.ts.map