import Conf from 'conf';
interface CliConfig {
    activeProject?: {
        id: string;
        name: string;
    };
    auth?: {
        token: string;
        expiresAt?: number;
        user?: {
            id: string;
            email: string;
            name?: string;
        };
    };
}
declare const config: Conf<CliConfig>;
/**
 * Get the active project from configuration
 */
export declare function getActiveProject(): {
    id: string;
    name: string;
} | undefined;
/**
 * Set the active project in configuration
 */
export declare function setActiveProject(id: string, name: string): void;
/**
 * Clear the active project from configuration
 */
export declare function clearActiveProject(): void;
/**
 * Get the authentication token from configuration
 */
export declare function getAuthToken(): string | undefined;
/**
 * Set the authentication token in configuration
 */
export declare function setAuthToken(token: string, user?: {
    id: string;
    email: string;
    name?: string;
}): void;
/**
 * Clear the authentication token from configuration
 */
export declare function clearAuthToken(): void;
/**
 * Check if the user is authenticated
 */
export declare function isAuthenticated(): boolean;
/**
 * Check if the token needs to be refreshed
 * Returns true if the token is valid but will expire soon
 */
export declare function needsTokenRefresh(): boolean;
/**
 * Get the authenticated user from configuration
 */
export declare function getAuthUser(): {
    id: string;
    email: string;
    name?: string;
} | undefined;
/**
 * Get the API URL
 */
export declare function getApiUrl(): string;
export default config;
