import { RowKey } from '../../../types';
/**
 * Saves view configuration or notifies via callback.
 *
 * ## Purpose
 *
 * Persists column configuration for a specific view.
 * Only external callback (network cookies) is supported. localStorage is not used.
 *
 * ## Persistence priority
 *
 * 1. If `onChangeConfig` is present, notifies the callback (to save in network cookies)
 * 2. If no callback, nothing is saved
 *
 * ## Key format (reference; persistence is only via callback)
 *
 * table: `${id}_columns_config`
 * cards: `${id}_columns_config_cards`
 * @param id - Unique DataGrid identifier
 * @param viewSuffix - Suffix to identify the view ('' for table, '_cards' for cards)
 * @param config - Configuration array to save
 * @param onChangeConfig - Optional callback to notify changes. If not provided, nothing is saved.
 * @example
 * // Notify via callback
 * saveViewConfig('my-grid', '_cards', config, onChangeConfig);
 */
export declare const saveViewConfig: <T>(id: RowKey, viewSuffix: string, config: T[], onChangeConfig?: (data: {
    reason: string;
    userConfig: T[];
}) => void) => void;
//# sourceMappingURL=saveViewConfig.d.ts.map