
export interface ServerConnectionStatus {
  checked: boolean;
  connected: boolean;
  message: string;
  details?: string;
}

export interface RegisterFormProps {
  signUp: (email: string, password: string, username: string) => Promise<{ error: any, user: any }>;
  serverStatus: ServerConnectionStatus;
  setServerStatus: React.Dispatch<React.SetStateAction<ServerConnectionStatus>>;
  setRegisterError: (error: string | null) => void;
}

export interface TestConnectionResults {
  connected: boolean;
  message: string;
  details?: string;
}
