import { type ObjRef } from "@gooddata/sdk-model";
/**
 * Hook for toggling and checking if a widget should be shown as table.
 *
 * @param widget - The widget to check and toggle.
 * @returns isWidgetAsTable, toggleWidgetAsTable
 *
 * @beta
 */
export declare function useShowAsTable(widget: {
    ref: ObjRef;
}): {
    isWidgetAsTable: boolean;
    toggleWidgetAsTable: () => void;
    setWidgetAsTable: (asTable: boolean) => void;
};
//# sourceMappingURL=useShowAsTable.d.ts.map