import { APL, AuthData } from '../index.js'; type AuthDataRequired = Omit; type Options = { env: Record; /** * Enable to log auth data to stdout. * Do it once to save data in ENV and disable it later. */ printAuthDataOnRegister?: boolean; }; declare class EnvAPL implements APL { private defaultOptions; options: Options; constructor(options: Options); private isAuthDataValid; isReady(): Promise<{ readonly ready: true; error?: undefined; } | { ready: boolean; error: Error; }>; /** * Always return its configured, because otherwise .set() will never be called * so env can't be printed */ isConfigured(): Promise<{ readonly configured: true; }>; set(authData: AuthData): Promise; get(saleorApiUrl: string): Promise | undefined>; getAll(): Promise[]>; delete(): Promise; } export { EnvAPL };