import { z } from "zod"; import { Configuration } from "webpack"; /** * xmcp Config schema */ export declare const configSchema: z.ZodObject<{ stdio: z.ZodOptional; }, "strip", z.ZodTypeAny, { debug: boolean; }, { debug?: boolean | undefined; }>]>>>; http: z.ZodOptional; host: z.ZodOptional; bodySizeLimit: z.ZodOptional; debug: z.ZodOptional; endpoint: z.ZodOptional; cors: z.ZodOptional, z.ZodBoolean]>>; methods: z.ZodOptional]>>; allowedHeaders: z.ZodOptional]>>; exposedHeaders: z.ZodOptional]>>; credentials: z.ZodOptional; maxAge: z.ZodOptional; }, "strip", z.ZodTypeAny, { origin?: string | boolean | string[] | undefined; methods?: string | string[] | undefined; allowedHeaders?: string | string[] | undefined; exposedHeaders?: string | string[] | undefined; credentials?: boolean | undefined; maxAge?: number | undefined; }, { origin?: string | boolean | string[] | undefined; methods?: string | string[] | undefined; allowedHeaders?: string | string[] | undefined; exposedHeaders?: string | string[] | undefined; credentials?: boolean | undefined; maxAge?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { port?: number | undefined; host?: string | undefined; bodySizeLimit?: number | undefined; debug?: boolean | undefined; endpoint?: string | undefined; cors?: { origin?: string | boolean | string[] | undefined; methods?: string | string[] | undefined; allowedHeaders?: string | string[] | undefined; exposedHeaders?: string | string[] | undefined; credentials?: boolean | undefined; maxAge?: number | undefined; } | undefined; }, { port?: number | undefined; host?: string | undefined; bodySizeLimit?: number | undefined; debug?: boolean | undefined; endpoint?: string | undefined; cors?: { origin?: string | boolean | string[] | undefined; methods?: string | string[] | undefined; allowedHeaders?: string | string[] | undefined; exposedHeaders?: string | string[] | undefined; credentials?: boolean | undefined; maxAge?: number | undefined; } | undefined; }>>>]>>; experimental: z.ZodOptional; userInfoUrl: z.ZodOptional; registerUrl: z.ZodString; }, "strip", z.ZodTypeAny, { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }, { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }>; issuerUrl: z.ZodString; baseUrl: z.ZodString; serviceDocumentationUrl: z.ZodOptional; pathPrefix: z.ZodDefault; defaultScopes: z.ZodDefault>; }, "strip", z.ZodTypeAny, { endpoints: { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }; issuerUrl: string; baseUrl: string; pathPrefix: string; defaultScopes: string[]; serviceDocumentationUrl?: string | undefined; }, { endpoints: { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }; issuerUrl: string; baseUrl: string; serviceDocumentationUrl?: string | undefined; pathPrefix?: string | undefined; defaultScopes?: string[] | undefined; }>>; adapter: z.ZodOptional>; }, "strip", z.ZodTypeAny, { oauth?: { endpoints: { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }; issuerUrl: string; baseUrl: string; pathPrefix: string; defaultScopes: string[]; serviceDocumentationUrl?: string | undefined; } | undefined; adapter?: "express" | "nextjs" | undefined; }, { oauth?: { endpoints: { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }; issuerUrl: string; baseUrl: string; serviceDocumentationUrl?: string | undefined; pathPrefix?: string | undefined; defaultScopes?: string[] | undefined; } | undefined; adapter?: "express" | "nextjs" | undefined; }>>; paths: z.ZodOptional; }, "strip", z.ZodTypeAny, { tools: string; }, { tools?: string | undefined; }>>; webpack: z.ZodOptional, z.ZodAny>>>; identity: z.ZodOptional>; devIdentityPath: z.ZodOptional; privacyMode: z.ZodOptional; debug: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; debug?: boolean | undefined; environment?: "development" | "production" | undefined; devIdentityPath?: string | undefined; privacyMode?: boolean | undefined; }, { enabled: boolean; debug?: boolean | undefined; environment?: "development" | "production" | undefined; devIdentityPath?: string | undefined; privacyMode?: boolean | undefined; }>>>; }, "strip", z.ZodTypeAny, { stdio?: boolean | { debug: boolean; } | undefined; http?: boolean | { port?: number | undefined; host?: string | undefined; bodySizeLimit?: number | undefined; debug?: boolean | undefined; endpoint?: string | undefined; cors?: { origin?: string | boolean | string[] | undefined; methods?: string | string[] | undefined; allowedHeaders?: string | string[] | undefined; exposedHeaders?: string | string[] | undefined; credentials?: boolean | undefined; maxAge?: number | undefined; } | undefined; } | undefined; experimental?: { oauth?: { endpoints: { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }; issuerUrl: string; baseUrl: string; pathPrefix: string; defaultScopes: string[]; serviceDocumentationUrl?: string | undefined; } | undefined; adapter?: "express" | "nextjs" | undefined; } | undefined; paths?: { tools: string; } | undefined; webpack?: ((args_0: any, ...args: unknown[]) => any) | undefined; identity?: { enabled: boolean; debug?: boolean | undefined; environment?: "development" | "production" | undefined; devIdentityPath?: string | undefined; privacyMode?: boolean | undefined; } | undefined; }, { stdio?: boolean | { debug?: boolean | undefined; } | undefined; http?: boolean | { port?: number | undefined; host?: string | undefined; bodySizeLimit?: number | undefined; debug?: boolean | undefined; endpoint?: string | undefined; cors?: { origin?: string | boolean | string[] | undefined; methods?: string | string[] | undefined; allowedHeaders?: string | string[] | undefined; exposedHeaders?: string | string[] | undefined; credentials?: boolean | undefined; maxAge?: number | undefined; } | undefined; } | undefined; experimental?: { oauth?: { endpoints: { authorizationUrl: string; tokenUrl: string; registerUrl: string; revocationUrl?: string | undefined; userInfoUrl?: string | undefined; }; issuerUrl: string; baseUrl: string; serviceDocumentationUrl?: string | undefined; pathPrefix?: string | undefined; defaultScopes?: string[] | undefined; } | undefined; adapter?: "express" | "nextjs" | undefined; } | undefined; paths?: { tools?: string | undefined; } | undefined; webpack?: ((args_0: any, ...args: unknown[]) => any) | undefined; identity?: { enabled: boolean; debug?: boolean | undefined; environment?: "development" | "production" | undefined; devIdentityPath?: string | undefined; privacyMode?: boolean | undefined; } | undefined; }>; type WebpackConfig = { webpack?: (config: Configuration) => Configuration; }; export type XmcpConfigInputSchema = Omit, "webpack"> & WebpackConfig; export type XmcpConfigOuputSchema = Omit, "webpack"> & WebpackConfig; export {};