import { z } from '@frontmcp/lazy-zod'; import type { SkillsConfigAuthMode, SkillsConfigOptions as SkillsConfigOptionsInterface } from './interfaces'; /** * Authentication mode schema for skills HTTP endpoints. */ export declare const skillsConfigAuthModeSchema: import("@frontmcp/lazy-zod").ZodEnum<{ inherit: "inherit"; public: "public"; "api-key": "api-key"; bearer: "bearer"; }>; /** * Endpoint configuration schema (simplified - no auth, just enabled and path). */ export declare const skillsConfigEndpointConfigSchema: import("@frontmcp/lazy-zod").ZodObject<{ enabled: import("@frontmcp/lazy-zod").ZodDefault>; path: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>; /** * JWT validation configuration schema. */ export declare const skillsConfigJwtOptionsSchema: import("@frontmcp/lazy-zod").ZodObject<{ issuer: import("@frontmcp/lazy-zod").ZodString; audience: import("@frontmcp/lazy-zod").ZodOptional; jwksUrl: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>; /** * Cache configuration schema. * * Supports 'redis' (uses ioredis under the hood) and 'vercel-kv' providers. */ export declare const skillsConfigCacheOptionsSchema: import("@frontmcp/lazy-zod").ZodObject<{ enabled: import("@frontmcp/lazy-zod").ZodDefault>; redis: import("@frontmcp/lazy-zod").ZodOptional; host: import("@frontmcp/lazy-zod").ZodOptional; port: import("@frontmcp/lazy-zod").ZodOptional; password: import("@frontmcp/lazy-zod").ZodOptional; db: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>>; ttlMs: import("@frontmcp/lazy-zod").ZodDefault>; keyPrefix: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>; /** * Audit options schema. Signer/store are typed as `unknown` because their * concrete types live in `@frontmcp/adapters/skills` — keeping the SDK free * of the upward dependency. Validation here just confirms shape; the helper * that consumes the config does the structural duck-type check. * * `subjectMode` and `headAnchorIntervalMs` are surfaced here so the * normalizer preserves them when forwarding the audit block to the helper. */ export declare const skillsConfigAuditOptionsSchema: import("@frontmcp/lazy-zod").ZodObject<{ enabled: import("@frontmcp/lazy-zod").ZodDefault>; signer: import("@frontmcp/lazy-zod").ZodOptional; store: import("@frontmcp/lazy-zod").ZodOptional; subjectMode: import("@frontmcp/lazy-zod").ZodOptional>; headAnchorIntervalMs: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>; /** * Skills HTTP options Zod schema. * Auth is configured at the top level and applies to all HTTP endpoints. */ export declare const skillsConfigOptionsSchema: import("@frontmcp/lazy-zod").ZodObject<{ enabled: import("@frontmcp/lazy-zod").ZodDefault>; prefix: import("@frontmcp/lazy-zod").ZodOptional; auth: import("@frontmcp/lazy-zod").ZodDefault>>; apiKeys: import("@frontmcp/lazy-zod").ZodOptional>; jwt: import("@frontmcp/lazy-zod").ZodOptional; jwksUrl: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>>; llmTxt: import("@frontmcp/lazy-zod").ZodDefault>; path: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>, import("@frontmcp/lazy-zod").ZodBoolean]>>>; llmFullTxt: import("@frontmcp/lazy-zod").ZodDefault>; path: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>, import("@frontmcp/lazy-zod").ZodBoolean]>>>; api: import("@frontmcp/lazy-zod").ZodDefault>; path: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>, import("@frontmcp/lazy-zod").ZodBoolean]>>>; mcpResources: import("@frontmcp/lazy-zod").ZodDefault>; sep2640InInstructions: import("@frontmcp/lazy-zod").ZodDefault>; cache: import("@frontmcp/lazy-zod").ZodOptional>; redis: import("@frontmcp/lazy-zod").ZodOptional; host: import("@frontmcp/lazy-zod").ZodOptional; port: import("@frontmcp/lazy-zod").ZodOptional; password: import("@frontmcp/lazy-zod").ZodOptional; db: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>>; ttlMs: import("@frontmcp/lazy-zod").ZodDefault>; keyPrefix: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>>; audit: import("@frontmcp/lazy-zod").ZodOptional>; signer: import("@frontmcp/lazy-zod").ZodOptional; store: import("@frontmcp/lazy-zod").ZodOptional; subjectMode: import("@frontmcp/lazy-zod").ZodOptional>; headAnchorIntervalMs: import("@frontmcp/lazy-zod").ZodOptional; }, import("zod/v4/core").$strip>>; injectInstructions: import("@frontmcp/lazy-zod").ZodDefault>>; scoring: import("@frontmcp/lazy-zod").ZodOptional>; }, import("zod/v4/core").$strip>; /** * Skills HTTP options type (with defaults applied). */ export type SkillsConfigOptions = z.infer; /** * Skills HTTP options input type (for user configuration). * Uses explicit interface for better IDE autocomplete. */ export type SkillsConfigOptionsInput = SkillsConfigOptionsInterface; /** * Skills HTTP endpoint config type (with defaults applied). */ export type SkillsConfigEndpointConfig = z.infer; /** * Skills HTTP endpoint config input type. */ export type SkillsConfigEndpointConfigInput = z.input; /** * Normalized endpoint configuration with auth from parent. * This is the result of normalizing an endpoint config with the parent's auth settings. */ export interface NormalizedEndpointConfig { enabled: boolean; path: string; auth: SkillsConfigAuthMode; apiKeys?: string[]; } /** * Normalize endpoint configuration. * Converts boolean or config object to normalized config object. * Auth settings come from the parent skillsConfig, not per-endpoint. */ export declare function normalizeEndpointConfig(config: boolean | SkillsConfigEndpointConfig | undefined, defaultPath: string, parentAuth: SkillsConfigAuthMode, parentApiKeys?: string[]): NormalizedEndpointConfig; /** * Normalize skills HTTP options. * Applies defaults and normalizes all endpoint configurations. * Auth is applied from the top level to all endpoints. */ export declare function normalizeSkillsConfigOptions(options: SkillsConfigOptionsInput | undefined): SkillsConfigOptions & { normalizedLlmTxt: NormalizedEndpointConfig; normalizedLlmFullTxt: NormalizedEndpointConfig; normalizedApi: NormalizedEndpointConfig; }; //# sourceMappingURL=schema.d.ts.map