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