// (C) 2021-2026 GoodData Corporation
import { eventGuard } from "./util.js";
/**
 * Create {@link ICreateInsightRequested} event
 *
 * @internal
 */
export function createInsightRequested(correlationId) {
    return {
        type: "GDC.DASH/EVT.CREATE_INSIGHT_REQUESTED",
        correlationId,
    };
}
/**
 * Tests whether the provided object is an instance of {@link ICreateInsightRequested}.
 *
 * @param obj - object to test
 * @internal
 */
export const isCreateInsightRequested = eventGuard("GDC.DASH/EVT.CREATE_INSIGHT_REQUESTED");
