@launchdarkly/mcp-server
Version:
The local [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [LaunchDarkly](https://launchdarkly.com/) federal and European Union (EU) environments.
41 lines • 1.62 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare const ClassifierType: {
readonly Bool: "bool";
readonly Float: "float";
readonly Enum: "enum";
};
export type ClassifierType = ClosedEnum<typeof ClassifierType>;
export type Classifier = {
key: string;
type: ClassifierType;
instructions: string;
/**
* Type-specific criteria. An enum classifier uses a map of option keys to descriptions.
*
* @remarks
* A float classifier uses an ordered list of level labels. A bool classifier uses optional
* true and false descriptions.
*/
criteria?: any | undefined;
};
/** @internal */
export declare const ClassifierType$inboundSchema: z.ZodNativeEnum<typeof ClassifierType>;
/** @internal */
export declare const ClassifierType$outboundSchema: z.ZodNativeEnum<typeof ClassifierType>;
/** @internal */
export declare const Classifier$inboundSchema: z.ZodType<Classifier, z.ZodTypeDef, unknown>;
/** @internal */
export type Classifier$Outbound = {
key: string;
type: string;
instructions: string;
criteria?: any | undefined;
};
/** @internal */
export declare const Classifier$outboundSchema: z.ZodType<Classifier$Outbound, z.ZodTypeDef, Classifier>;
export declare function classifierToJSON(classifier: Classifier): string;
export declare function classifierFromJSON(jsonString: string): SafeParseResult<Classifier, SDKValidationError>;
//# sourceMappingURL=classifier.d.ts.map