import * as pb from '@textile/hub-grpc/hub_pb';
import { ContextInterface } from '@textile/context';
export declare const createUsername: (size?: number) => string;
export declare const createEmail: () => string;
export declare const confirmEmail: (gurl: string, secret: string) => Promise<boolean>;
export declare const createKey: (ctx: ContextInterface, kind: keyof pb.KeyTypeMap) => Promise<pb.GetKeyReply.AsObject>;
export declare const signUp: (ctx: ContextInterface, addrGatewayUrl: string, sessionSecret: string) => Promise<{
    user: pb.SignupReply.AsObject | undefined;
    username: string;
    email: string;
}>;
export declare const createAPISig: (secret: string, date?: Date) => Promise<{
    sig: string;
    msg: string;
}>;
