import { type Client } from "@libsql/client"; import { type FastifyInstance } from "fastify"; import { AgentService } from "./modules/agents/index.js"; import { TokenService } from "./modules/auth/tokens.js"; import type { ServerConfig } from "./modules/config/type.js"; import { FileStorage } from "./modules/files/storage.js"; import { type SecretProtector } from "./modules/integrations/secrets.js"; import { type WebhookUrlPolicy } from "./modules/integrations/ssrf.js"; import type { WebhookTransport } from "./modules/integrations/types.js"; import { type PubSub } from "./modules/realtime/index.js"; import { type AgentSandboxRuntime, type SandboxProvider } from "./modules/sandbox/index.js"; import { type PluginCatalog } from "./modules/plugin/catalog.js"; import { type PluginPackageLinkDownloader } from "./modules/plugin/packageLinkDownloader.js"; import { type PluginSecretProtector } from "./modules/plugin/secrets.js"; import { type PluginMcpRuntime } from "./modules/plugin/runtime.js"; import { type PluginArchiveDownloader } from "./modules/plugin/source.js"; import { HttpRateLimiter, IdempotencyCoordinator, type StoredHttpResponse } from "./modules/request/index.js"; /** Returns the isolated plugin host listener for black-box harness injection without exposing its routes on the product server. */ export declare function pluginHostApiFor(app: FastifyInstance): FastifyInstance; interface Services { client: Client; tokens: TokenService; pubsub?: PubSub; fileStorage?: FileStorage; integrationSecretProtector?: SecretProtector; webhookUrlPolicy?: WebhookUrlPolicy; now?: () => Date; webhookTransport?: WebhookTransport; rateLimiter?: HttpRateLimiter; idempotency?: IdempotencyCoordinator; agents?: AgentService; agentSandbox?: AgentSandboxRuntime; sandboxProviders?: readonly SandboxProvider[]; pluginCatalog?: PluginCatalog; pluginMcpRuntime?: PluginMcpRuntime; pluginSecretProtector?: PluginSecretProtector; pluginArchiveDownloader?: PluginArchiveDownloader; pluginPackageLinkDownloader?: PluginPackageLinkDownloader; errorLogPath?: string; logger?: boolean; localAccessToken?: string; } export declare function buildServer(config: ServerConfig, supplied?: Services): Promise; export {}; //# sourceMappingURL=server.d.ts.map