import { type IDrill } from "../../../model/commands/drill.js";
import type { IDashboardDrillResolved } from "../../../model/events/drill.js";
import type { IDashboardCommandFailed } from "../../../model/events/general.js";
/**
 * @internal
 */
export interface IUseDrillProps {
    onSuccess?: (event: IDashboardDrillResolved) => void;
    onError?: (event: IDashboardCommandFailed<IDrill>) => void;
    onBeforeRun?: (cmd: IDrill) => void;
}
/**
 * @internal
 */
export declare const useDrill: ({ onSuccess, onError, onBeforeRun }?: IUseDrillProps) => {
    run: (drillEvent: import("../../../types.js").IDashboardDrillEvent, drillContext: import("../../../types.js").IDashboardDrillContext, correlationId?: string | undefined) => void;
    status?: import("../../../model/react/useDashboardCommandProcessing.js").CommandProcessingStatus | undefined;
};
//# sourceMappingURL=useDrill.d.ts.map