import { api } from '../../../lib/apiClient';
import { RefreshTokenResponse } from '../types/api';
import { RefreshTokenFormValues } from '../types/form';

export const refreshToken = (data: RefreshTokenFormValues): Promise<RefreshTokenResponse> => {
    return api.post('/auth/refresh-token', data);
};
