import { Identity } from '@dfinity/agent';
import { InitAuth, SignOut, DeleteAuth } from '@deckdeckgo/editor';
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;
