/**
 * AgentledClient — CLI-facing wrapper around the shared Agentled external API client.
 *
 * Reads credentials from:
 *   1. AGENTLED_API_KEY env var
 *   2. ~/.agentled/config.json (active workspace profile)
 *
 * Base URL from AGENTLED_URL env var or config file (default: https://www.agentled.app)
 */
import { AgentledApiClient, DEFAULT_AGENTLED_URL, type AgentledConfig, type AgentledUserProfile, type AgentledWorkspaceProfile, type UpsertAgentledWorkspaceProfileInput } from '@agentled/core';
export type { AgentledConfig, AgentledUserProfile, AgentledWorkspaceProfile, UpsertAgentledWorkspaceProfileInput, };
export { DEFAULT_AGENTLED_URL };
export interface AgentledAuthContext {
    authenticated: boolean;
    source: 'environment' | 'config' | 'none';
    apiKey?: string;
    baseUrl: string;
    workspace?: AgentledWorkspaceProfile;
    config: AgentledConfig;
}
export declare function loadConfig(): AgentledConfig;
export declare function getWorkspaceSelector(): string | undefined;
export declare function listWorkspaces(config?: AgentledConfig): AgentledWorkspaceProfile[];
export declare function getSelectedWorkspace(config?: AgentledConfig, workspaceRef?: string | undefined): AgentledWorkspaceProfile | undefined;
export declare function getBaseUrl(): string;
export declare function saveConfig(config: AgentledConfig): void;
export declare function deleteConfig(): boolean;
export declare function getConfigPath(): string;
export declare function saveWorkspaceProfile(input: UpsertAgentledWorkspaceProfileInput): AgentledConfig;
export declare function setActiveWorkspace(workspaceRef: string): AgentledConfig;
export declare function removeWorkspace(workspaceRef: string): AgentledConfig;
export declare function resolveAuthContext(): AgentledAuthContext;
export declare class AgentledClient extends AgentledApiClient {
    constructor();
}
