declare type Nullable<TReturn> = TReturn | null;
interface Options<TArgs, TReturn> {
    getFn: (args: TArgs) => Nullable<TReturn>;
    watchFn?: (options: TArgs, callback: (watchData: Nullable<TReturn>) => void) => () => void;
    args: TArgs;
}
export declare function useController<TArgs, TReturn>({ getFn, watchFn, args }: Options<TArgs, TReturn>): {
    data: TReturn | undefined;
};
export {};
