import { type IDrillToInsight } from "../../../model/commands/drill.js";
import type { IDashboardDrillToInsightResolved } from "../../../model/events/drill.js";
import type { IDashboardCommandFailed } from "../../../model/events/general.js";
/**
 * @internal
 */
export interface IUseDrillToInsightProps {
    onSuccess?: (event: IDashboardDrillToInsightResolved) => void;
    onError?: (event: IDashboardCommandFailed<IDrillToInsight>) => void;
    onBeforeRun?: (cmd: IDrillToInsight) => void;
}
/**
 * @internal
 */
export declare const useDrillToInsight: ({ onSuccess, onError, onBeforeRun }?: IUseDrillToInsightProps) => {
    run: (drillDefinition: import("@gooddata/sdk-model").IDrillToInsight, drillEvent: import("../../../types.js").IDashboardDrillEvent, correlationId?: string | undefined) => void;
    status?: import("../../../model/react/useDashboardCommandProcessing.js").CommandProcessingStatus | undefined;
};
//# sourceMappingURL=useDrillToInsight.d.ts.map