import { ShareDetails } from "../fs/types.js";
export * from "./username.js";
/**
 * Create a user account.
 */
export declare function createAccount(userProps: {
    username: string;
    email?: string;
}): Promise<{
    success: boolean;
}>;
/**
 * Ask the fission server to send another verification email to the
 * user currently logged in.
 *
 * Throws if the user is not logged in.
 */
export declare function resendVerificationEmail(): Promise<{
    success: boolean;
}>;
/**
 * Create a share link.
 * There people can "accept" a share,
 * copying the soft links into their private filesystem.
 */
export declare function shareLink(details: ShareDetails): string;
/**
 * Store the read key for the root `PrivateTree` (ie. `/private`)
 */
export declare function storeFileSystemRootKey(key: string): Promise<void>;
