import type { AgentConfig } from "@clinebot/agents";
export interface PluginSandboxOptions {
    pluginPaths: string[];
    exportName?: string;
    importTimeoutMs?: number;
    hookTimeoutMs?: number;
    contributionTimeoutMs?: number;
    onEvent?: (event: {
        name: string;
        payload?: unknown;
    }) => void;
}
export declare function loadSandboxedPlugins(options: PluginSandboxOptions): Promise<{
    extensions: AgentConfig["extensions"];
    shutdown: () => Promise<void>;
}>;
//# sourceMappingURL=plugin-sandbox.d.ts.map