export interface Credentials { endpoint: string; token?: string; } export declare function credentialsPath(): string; export declare function saveCredentials(creds: Credentials): void; export declare function readCredentials(): Credentials | null; export declare function clearCredentials(): boolean; /** Flag beats environment beats the saved file, so scripts can override safely. */ export declare function resolveEndpoint(flags: { endpoint?: string; token?: string; }): Credentials; export declare function maskToken(token?: string): string; /** Builds the CDP url a browse session connects to. */ export declare function connectUrl(creds: Credentials): string; //# sourceMappingURL=credentials.d.ts.map