import { Computed } from "../computed";
import { TypeStateManagerConfigs } from "../state-manager";
import { ReactStateManager } from "./state-manager";
export declare class ReactComputed<DataType> extends Computed<DataType> {
    protected _hooks: Readonly<{
        useState: () => [DataType, (newState: DataType) => void];
    }>;
    get hooks(): Readonly<{
        useState: () => [DataType, (newState: DataType) => void];
    }>;
}
export declare function computed<Callback extends () => any>(callback: Callback, triggers: (ReactStateManager<any> | ReactComputed<any>)[], config?: TypeStateManagerConfigs<ReturnType<Callback>>): ReactComputed<ReturnType<Callback>>;
