import { DeleteAuth, InitAuth, SignOut } from '@deckdeckgo/editor';
import { Identity } from '@dfinity/agent';
import { AuthClient } from '@dfinity/auth-client';
declare global {
  interface Window {
    authClient: AuthClient | undefined;
  }
}
export declare const initAuth: InitAuth;
export declare const signOut: SignOut;
export declare const signIn: ({ onSuccess, onError }: {
  onSuccess: () => void;
  onError: (err?: string) => void;
}) => Promise<void>;
export declare const deleteAuth: DeleteAuth;
export declare const getIdentity: () => Identity | undefined;
