import { Profile } from '../types';
/**
 * Parse a subdomain.
 *
 * If someone mistakenly provides full hostname or Url instead of a subdomain
 * then strip out domain name from it.
 *
 * @param {string} subdomain - The subdomain.
 * @return {string} The parsed subdomain.
 */
export declare const parseSubdomain: (subdomain: string) => string;
export declare const getAccount: (subdomain: string, domain?: string) => string;
export declare const getProfileFromAccount: (account: string) => Profile;
