import type { FasedAgentConfig } from "../config/config.js";
import type { GatewayRequestHandler } from "../gateway/server-methods/types.js";
import { type PluginRegistry } from "./registry.js";
import type { PluginLogger } from "./types.js";
export type PluginLoadResult = PluginRegistry;
export type PluginLoadOptions = {
    config?: FasedAgentConfig;
    workspaceDir?: string;
    logger?: PluginLogger;
    coreGatewayHandlers?: Record<string, GatewayRequestHandler>;
    cache?: boolean;
    mode?: "full" | "validate";
};
export declare function clearPluginLoaderCache(): void;
declare function resolvePluginSdkAliases(): Record<string, string>;
export declare const __testing: {
    resolvePluginSdkAliasFile: (params: {
        srcFile: string;
        distFile: string;
        modulePath?: string;
    }) => string | null;
    resolvePluginSdkAliases: typeof resolvePluginSdkAliases;
};
export declare function loadFasedAgentPlugins(options?: PluginLoadOptions): PluginRegistry;
export declare function resolveRuntimePluginRegistry(options?: PluginLoadOptions): PluginRegistry;
export {};
