import { type CredentialValueSource, type RawCredentialValues } from "./process-env.js"; export type RegQueryFn = (name: string) => string | undefined; /** * Reads Jira credentials from the Windows *User* environment (HKCU\Environment) * rather than the current process's environment. * * This exists because a shell that had `setx JIRA_API_TOKEN ...` run in it does * NOT see the new value until a new process is spawned - but every terminal * spawned afterwards, including the one Claude Code's MCP child inherits from, * does. Falling back to the registry closes that gap without asking the user * to open a fresh terminal. * * A value read here is never logged, thrown in an error, or written back * anywhere - `read()` only returns it to the caller for in-memory use. */ export declare class WindowsUserEnvCredentialSource implements CredentialValueSource { private readonly queryFn; private readonly env; constructor(queryFn?: RegQueryFn, env?: NodeJS.ProcessEnv); read(): RawCredentialValues; } export declare function userEnvDisabled(env?: NodeJS.ProcessEnv): boolean;