import { DataSource, DataSourceField } from '@sisense/sdk-data';
import { RestApiHookState } from '../../../../shared/utils/utility-types';
/**
 * Gets the legacy Fusion data structure to describe a column (attribute) in a data source.
 * Prefer using {@link useGetDataSourceDimensions} instead if possible.
 *
 * @param dataSource - The data source to get the fields for
 * @param params.enabled - Whether the query should be enabled.
 * @param params.count - The number of items to return
 * @param params.offset - The offset for pagination
 * @param params.searchValue - The search value to filter by
 * @param params.cacheTime - The cache time in milliseconds
 * @returns The data source fields state
 * @internal
 */
export declare const useGetDataSourceFields: (params: {
    dataSource: DataSource | undefined;
    enabled?: boolean;
    count?: number;
    offset?: number;
    searchValue?: string;
    cacheTime?: number;
}) => DataSourceFieldsState;
type DataSourceFieldsState = RestApiHookState<'dataSourceFields', DataSourceField[]>;
export {};
