import ApolloClient from "apollo-client";
export interface AuthServiceOptions {
    apolloClient: ApolloClient<any>;
    onAuthChange(currentUser: any): void;
}
export declare class AuthService {
    currentUser?: any;
    private apolloClient;
    private onAuthChange;
    constructor(opts: AuthServiceOptions);
    handleInitialState(): Promise<void>;
    logout(): void;
    loginUser(session: any): Promise<void>;
    fetchCurrentUser(): Promise<void>;
}
