import { FreeschemaResponse } from "../DataStructures/Responses/StandardResponses";
import { SigninModel } from "../DataStructures/SigninModel";
/**
 * Alternative sign-in function using SigninModel structure.
 *
 * Similar to LoginToBackend but returns FreeschemaResponse format and
 * does NOT automatically store the token. You must manually handle the token.
 *
 * @param signinInfo - SigninModel object containing email and password
 * @returns FreeschemaResponse with {status, statusCode, message, data} structure
 *         data contains user information and token (not auto-stored)
 *
 * @example
 * const result = await Signin({
 *   email: "user@example.com",
 *   password: "password123"
 * });
 * if (result.status) {
 *   const token = result.data.token; // Manual token handling required
 * }
 *
 * @see {@link LoginToBackend} for auto-token-storage version
 */
export default function Signin(signinInfo: SigninModel): Promise<FreeschemaResponse | undefined>;
