import { STATES } from '../../types/states/states';
export type States = (keyof typeof STATES)[];
type ParamsType = {
    states: States;
    ref?: React.ForwardedRef<HTMLElement> | undefined | null;
    disabled?: boolean;
    loading?: boolean;
    active?: boolean;
};
type ReturnType = {
    state: STATES;
    setRef?: (node: HTMLElement) => void;
};
export declare const useManageState: ({ disabled, loading, active, ...props }: ParamsType) => ReturnType;
export {};
