import { NAryFunction } from "../../logic/model/NAryFunction";
import React from "react";
export interface GenericFeatureHookOptions {
    /**
     * If you're changing the `on` object, you should update this key so the hook updates with the new values.
     */
    key?: string;
    on: {
        expression: NAryFunction<boolean>;
        on: React.ReactNode;
    }[];
    default?: React.ReactNode;
    loading?: React.ReactNode;
    error?: React.ReactNode;
}
export type FeatureResponse = JSX.Element;
export declare function useGenericFeature(options: GenericFeatureHookOptions): FeatureResponse;
