import { type Snapshot } from 'recoil';
import type { RequestExtras } from '../../api/http';
import type { WebSocketClientInterface } from '../../api/websocket';
import { type DataFrame, type DerivedVariable, type GlobalTaskContext, type ServerVariable, type SingleVariable } from '../../types';
import { type DataFetcher } from './tabular-variable';
/**
 * Helper hook which turns any variable into a callback to return DataFrame.
 * Can be used in components that only work with tabular data.
 *
 * Optionally pass in filters, pagination, and other options to fetch data.
 *
 * The callback identity changes whenever a refetch should be triggered.
 *
 * @param variable data variable
 */
export declare function useTabularVariable(variable: SingleVariable | DerivedVariable | ServerVariable | DataFrame): DataFetcher;
/**
 * Return the entire tabular variable as a DataFrame
 * */
export declare function getTabularVariableValue(variable: DataFrame | SingleVariable | DerivedVariable | ServerVariable, ctx: {
    client: WebSocketClientInterface;
    extras: RequestExtras;
    search: string;
    snapshot: Snapshot;
    taskContext: GlobalTaskContext;
}): Promise<DataFrame | null>;
//# sourceMappingURL=use-tabular-variable.d.ts.map