import { ERROR_STATUS, SUCCESS_STATUS } from '../../../constants/index.ts';
import type { ApiErrorResponse } from '../../../types/index.ts';
export interface UseCheckProps {
    onCheckError?: OnCheckErrorType;
    onCheckSuccess?: () => void;
    initialData?: {
        status: typeof SUCCESS_STATUS | typeof ERROR_STATUS;
        data: {
            allowConnect: boolean;
            checked: boolean;
        };
    };
    teamId?: number | null;
}
export type OnCheckErrorType = (err: ApiErrorResponse) => void;
export declare const useCheck: ({ teamId, onCheckError, initialData, onCheckSuccess }: UseCheckProps) => {
    allowConnect: boolean;
    checked: boolean;
    refetch: () => void;
    isLoading: boolean;
};
//# sourceMappingURL=useCheck.d.ts.map