import { type AuthState } from '../fs/config.js'; export declare const PAT_PREFIX = "aga_"; export declare const TOKEN_ENV_VAR = "AGENTAGE_TOKEN"; export interface PatOptions { token?: string; } export declare const isPatShape: (value: string) => boolean; export declare const assertPatShape: (value: string) => string; export declare const rawPatToken: (opts?: PatOptions) => string | undefined; export declare const patAuthState: (token: string, fqdn?: string) => AuthState; export declare const isPatAuth: (auth: AuthState | null) => boolean; export declare const resolveAuth: (opts?: PatOptions, read?: () => AuthState | null) => AuthState | null;