import { type StoredCredentials } from './credentials-store'; export interface CliAuthContext { baseUrl: string; webId: string; podRoot: string; baseIri: string; accessToken: string; credentials: StoredCredentials; } export interface AuthStatus { authenticated: boolean; authType?: string; baseUrl?: string; webId?: string; podRoot?: string; } export declare function normalizeBaseUrl(url: string): string; export declare function resolvePodRootFromWebId(webId: string): string; export declare function getStoredAuthStatus(urlOverride?: string): AuthStatus; export declare function requireAuthContext(options?: { url?: string; json?: boolean; }): Promise; export declare function authFetch(context: CliAuthContext, url: string, init?: RequestInit): Promise;