@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
21 lines • 864 B
TypeScript
import { z } from 'zod';
import type { ConfigOf, RedactedSchema } from '../secrets.ts';
export declare const ChromaConfig: z.ZodObject<{
host: z.ZodOptional<z.ZodString>;
port: z.ZodOptional<z.ZodNumber>;
ssl: z.ZodOptional<z.ZodBoolean>;
collectionName: z.ZodString;
slugField: z.ZodOptional<z.ZodString>;
chunkIndexField: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type ChromaConfig = ConfigOf<typeof ChromaConfig>;
export declare function resolveChromaConfig(config: ChromaConfig): {
host: string;
port: number;
ssl: boolean;
collectionName: string;
slugField: string;
chunkIndexField: string;
};
export declare function redactChromaConfig(config: ReturnType<typeof resolveChromaConfig>): RedactedSchema<typeof ChromaConfig, ReturnType<typeof resolveChromaConfig>>;
//# sourceMappingURL=config.d.ts.map