import { AuthInfo, OzoneCredentials } from '../ozoneClient/ozoneClient'; export declare class SessionCredentials implements OzoneCredentials { authenticate(ozoneURL: string): Promise; } export declare class UserCredentials implements OzoneCredentials { readonly username: string; readonly password: string; readonly setSessionCookie: boolean; constructor(username: string, password: string, setSessionCookie?: boolean); authenticate(ozoneURL: string): Promise; } export declare class TokenCredentials implements OzoneCredentials { readonly token: string; constructor(token: string); authenticate(ozoneURL: string): Promise; } export declare class ItemCredentials implements OzoneCredentials { readonly itemId: string; readonly secret: string; readonly setSessionCookie: boolean; constructor(itemId: string, secret: string, setSessionCookie?: boolean); authenticate(ozoneURL: string): Promise; } export declare class ItemByQueryCredentials implements OzoneCredentials { readonly typeIdentifier: string; readonly secret: string; readonly query: object; readonly setSessionCookie: boolean; constructor(typeIdentifier: string, secret: string, query: object, setSessionCookie?: boolean); authenticate(ozoneURL: string): Promise; } /** * Performs a redirection to ozone's login page if no active session is found */ export declare class OzoneLoginCredentials extends SessionCredentials { private static isInBrowser; private redirectToLoginPage; constructor(); authenticate(ozoneURL: string): Promise; }