import { AuthSecret } from '../types'; export declare function checkAndGetCredential(throwError?: boolean): Promise;