/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import type { GeminiCLIExtension } from '@vybestack/llxprt-code-core';
interface ExtensionConfig {
    name: string;
    version: string;
    settings?: unknown;
}
/**
 * Loads an extension and its config by name.
 * Logs error and returns nulls if extension not found or config invalid.
 *
 * @param name - Extension name to load
 * @returns Object with extension and extensionConfig, or nulls if not found
 */
export declare function getExtensionAndConfig(name: string): Promise<{
    extension: GeminiCLIExtension | null;
    extensionConfig: ExtensionConfig | null;
}>;
export {};
