import { UpdateViewConfigurationDTO, ViewConfigurationDTO } from "@medusajs/framework/types";
/**
 * The data to update a view configuration, along with whether to set it as the
 * user's active view for the entity.
 */
export type UpdateViewConfigurationWorkflowInput = {
    /**
     * The ID of the view configuration to update.
     */
    id: string;
    /**
     * Whether to set the configuration as the user's active view for the entity.
     * Only applies when the configuration belongs to a user.
     */
    set_active?: boolean;
} & UpdateViewConfigurationDTO;
export declare const updateViewConfigurationWorkflowId = "update-view-configuration";
/**
 * This workflow updates a view configuration's details, such as its name or column
 * configuration. If `set_active` is enabled and the configuration belongs to a
 * user, the configuration is also set as that user's active view for the entity.
 *
 * This workflow is used by the [Update View Configuration](https://docs.medusajs.com/api/admin/views/update-view-configuration)
 * API route.
 *
 * You can use this workflow within your own customizations or custom workflows,
 * allowing you to update a view configuration within your custom flows.
 *
 * @since 2.10.3
 * @featureFlag view_configurations
 *
 * @example
 * const { result } = await updateViewConfigurationWorkflow(container)
 *   .run({
 *     input: {
 *       id: "viewconfig_123",
 *       set_active: true,
 *       configuration: {
 *         visible_columns: ["display_id", "status"],
 *       },
 *     },
 *   })
 *
 * @summary
 *
 * Update a view configuration.
 */
export declare const updateViewConfigurationWorkflow: import("@medusajs/framework/workflows-sdk").ReturnWorkflow<UpdateViewConfigurationWorkflowInput, ViewConfigurationDTO, []>;
//# sourceMappingURL=update-view-configuration.d.ts.map