import type { UserInfo } from './UserInfo.js';
/**
 * Result of authentication process
 */
export declare class ApiAuthenticationResult {
    /**
     * Whether authentication was successful
     */
    isAuthenticated: boolean;
    /**
     * User information if authentication was successful
     */
    user?: UserInfo;
    /**
     * Error message if authentication failed
     */
    error?: string;
    /**
     * Creates a new successful authentication result
     *
     * @param user Authenticated user information
     * @returns Authentication result
     */
    static success(user: UserInfo): ApiAuthenticationResult;
    /**
     * Creates a new failed authentication result
     *
     * @param error Error message
     * @returns Authentication result
     */
    static failure(error: string): ApiAuthenticationResult;
}
