/**
 * Returns the authority part of the URL.
 *
 * @param url The full URL.
 *
 * @example
 * ```js
 * const authority1 = getAuthority( 'https://wordpress.org/help/' ); // 'wordpress.org'
 * const authority2 = getAuthority( 'https://localhost:8080/test/' ); // 'localhost:8080'
 * ```
 *
 * @return The authority part of the URL.
 */
export declare function getAuthority(url: string): string | void;
//# sourceMappingURL=get-authority.d.ts.map