//#region src/auth.d.ts type TokenType = 'project'; interface EnvToken { token: string; type?: TokenType; envVar: string; } declare class MissingTokenError extends Error { constructor(message?: string); } declare const getTokenFromEnv: () => EnvToken | null; declare const requireTokenFromEnv: () => EnvToken; declare const resolveAuthHeader: (token: string, type?: TokenType) => Record; declare const TOKEN_ENV_PRIORITY: readonly { env: string; type?: TokenType; }[]; //#endregion export { getTokenFromEnv as a, TokenType as i, MissingTokenError as n, requireTokenFromEnv as o, TOKEN_ENV_PRIORITY as r, resolveAuthHeader as s, EnvToken as t };