import { z } from 'zod'; /** * Knowledge Base name validation. * 1-48 chars, starts with a letter, alphanumeric + dash + underscore. * Mirrors the naming convention used by Memory/Evaluator/Dataset primitives; * stricter than the Bedrock CreateKnowledgeBase API allows (which permits up * to 100 chars), but consistent with the rest of the agentcore-cli schemas. */ export declare const KnowledgeBaseNameSchema: z.ZodString; export declare const S3DataSourceSchema: z.ZodObject<{ type: z.ZodLiteral<"S3">; uri: z.ZodString; }, z.core.$strict>; export type S3DataSource = z.infer; /** * Wire-verbatim connector type values for non-S3 FMKB data sources. These are * the exact `connectorParameters.type` literals the Bedrock managed-connector * API uses (confirmed against the FMKB console module's read and write paths). * Note `WEB` (not `WEBCRAWLER`) and the single-word `GOOGLEDRIVE`. */ export declare const ConnectorDataSourceTypeSchema: z.ZodEnum<{ WEB: "WEB"; CONFLUENCE: "CONFLUENCE"; SHAREPOINT: "SHAREPOINT"; ONEDRIVE: "ONEDRIVE"; GOOGLEDRIVE: "GOOGLEDRIVE"; }>; export type ConnectorDataSourceType = z.infer; /** * Non-S3 data source. The connector-specific structure lives in a JSON file * (`connectorConfigFile`, a project-relative path) and is passed through to * the DataSource's connectorParameters verbatim at deploy time. This honors * the DevEx "JSON file passthrough" decision: new connector params don't * require CLI/schema changes. */ export declare const ConnectorFileDataSourceSchema: z.ZodObject<{ type: z.ZodEnum<{ WEB: "WEB"; CONFLUENCE: "CONFLUENCE"; SHAREPOINT: "SHAREPOINT"; ONEDRIVE: "ONEDRIVE"; GOOGLEDRIVE: "GOOGLEDRIVE"; }>; connectorConfigFile: z.ZodString; }, z.core.$strict>; export type ConnectorFileDataSource = z.infer; /** * Knowledge Base data source: S3 (inline `uri`) or a non-S3 connector * (file-path reference). Discriminated union on `type`. */ export declare const DataSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"S3">; uri: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodEnum<{ WEB: "WEB"; CONFLUENCE: "CONFLUENCE"; SHAREPOINT: "SHAREPOINT"; ONEDRIVE: "ONEDRIVE"; GOOGLEDRIVE: "GOOGLEDRIVE"; }>; connectorConfigFile: z.ZodString; }, z.core.$strict>], "type">; export type DataSource = z.infer; /** * Type literal for KnowledgeBase entries in `agentcore.json`. * Mirrors how Memory/Evaluator/etc. tag themselves for forward-compat. */ export declare const KnowledgeBaseTypeSchema: z.ZodLiteral<"AgentCoreKnowledgeBase">; export type KnowledgeBaseType = z.infer; /** * Knowledge Base entry. The CLI creates and owns the KB, its data sources, * its IAM role, and (when `gateway` is set in Wave 2) its connector gateway * target. * * To wire an EXTERNAL KB (one this project does not own) as a gateway target, * skip this schema and use a connector gateway target with the external KB's * literal 10-char ID set on `knowledgeBaseId`. * * `gateway` is optional in Wave 1 — when set, it's stored but not yet wired * to a gateway target. Wave 2 lights up the connector gateway target. */ export declare const KnowledgeBaseSchema: z.ZodObject<{ type: z.ZodDefault>; name: z.ZodString; description: z.ZodOptional; dataSources: z.ZodArray; uri: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodEnum<{ WEB: "WEB"; CONFLUENCE: "CONFLUENCE"; SHAREPOINT: "SHAREPOINT"; ONEDRIVE: "ONEDRIVE"; GOOGLEDRIVE: "GOOGLEDRIVE"; }>; connectorConfigFile: z.ZodString; }, z.core.$strict>], "type">>; gateway: z.ZodOptional; }, z.core.$strict>; export type KnowledgeBase = z.infer; //# sourceMappingURL=knowledge-base.d.ts.map