import { type AuthState } from '../fs/config.js'; import { type Links } from '../net/origins.js'; export { AuthRequiredError, TransientAuthError } from './auth-errors.js'; export declare const refreshOrThrow: (auth: AuthState, links: Links) => Promise; export declare const authedGet: (auth: AuthState, links: Links, url: string) => Promise; export declare const authedPost: (auth: AuthState, links: Links, url: string, body: unknown) => Promise; export { introspectToken, type TokenSession } from './introspect.js';