import type { EnvironmentConfiguration } from "../../config/types.js"; import type { ConnectOptions } from "../../serialization/tasks/types.js"; import type { Logger } from "../../shared/logger.js"; type ResolveDeployAuthInput = { options: ConnectOptions; envName: string; existing: EnvironmentConfiguration; baseEnv: EnvironmentConfiguration; runWizard: boolean; isInteractive: boolean; needsDeployToken: boolean; logger: Logger; }; type ResolveDeployAuthResult = { deployToken?: string; loginAuthority: string; loginClientId?: string; wantsClientCredentials: boolean; shouldPersistClientId: boolean; /** * Freshness metadata for a freshly minted deploy token. Present only * when this call performed a login; the caller writes it onto the env * profile in the config file (`deployTokenExpiresIn` / * `deployTokenLastUpdated`) — see docs/credentials.md. */ deployTokenMeta?: { expiresIn: number | null; lastUpdated: string; }; }; export declare const resolveDeployAuth: (input: ResolveDeployAuthInput) => Promise; export {};