import { HookKeyOrOptions } from '@oclif/config/lib/hooks'; export declare const checkLogin: (command: string, argv: string[]) => Promise; export declare const onError: (e: any) => Promise; export default function (options: HookKeyOrOptions<'init'>): Promise;