import { HandrailsConfig, ProjectConfig, TeamCredential } from './schema'; declare const CONFIG_DIR: string; declare const CONFIG_FILE: string; export declare function ensureConfigDir(): void; export declare function loadConfig(): HandrailsConfig; export declare function saveConfig(config: HandrailsConfig): void; export declare function updateConfig(updates: Partial): HandrailsConfig; export declare function getProjectConfig(projectPath: string): ProjectConfig | null; export declare function setProjectConfig(projectPath: string, project: ProjectConfig): void; export declare function isAuthenticated(): boolean; /** * Resolve the API key and team for a given project path. * Uses the project-specific team if set, otherwise falls back to the default. */ export declare function resolveProjectCredentials(projectPath: string): TeamCredential | null; /** * Get all authenticated teams. */ export declare function getAuthenticatedTeams(): TeamCredential[]; export { CONFIG_DIR, CONFIG_FILE };