import { SetStateAction } from 'react';
export type Binding<T> = {
    value: T;
    setValue: React.Dispatch<SetStateAction<T>>;
};
export type BooleanBinding = Binding<boolean> & {
    toggle: () => void;
};
export declare function getValueOrBinding<T>(incoming: T | Binding<T>): T;
