import { StorageClient } from './lib/client.js';

declare class M2mStorageClient extends StorageClient {
}

declare const m2mStorageClient: {
    init: (options?: {
        env?: "development" | "production";
    }) => void;
    getStorage: (timeout?: number) => Promise<M2mStorageClient>;
};
declare const M2M_AUTH_TOKEN_KEY = "M2M_APP_AUTH_TOKEN";
declare const m2mAuthTokenApi: {
    get: () => Promise<string | null>;
    getCache: () => string | null;
    set: (token: string) => Promise<void>;
    clear: () => Promise<void>;
};

export { M2M_AUTH_TOKEN_KEY, M2mStorageClient, m2mAuthTokenApi, m2mStorageClient };
