import { ExtensionAuth } from "../types";
export declare class ExtensionAuthError extends Error {
    constructor(message: string);
}
/**
 * Get the extension auth from the connection.
 * @param connection - The connection to get the extension auth from.
 * @returns {ExtensionAuth} The extension auth.
 */
export declare const getExtensionAuth: (connection: any) => ExtensionAuth;
