UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

18 lines • 943 B
import { z } from 'zod'; import type { ConfigOf } from '../secrets.ts'; /** Supplies each request's token for a fixed principal and permission scope. * The provider owns refresh coordination. Different identities require isolated * workspaces, caches, indexes, and external cache prefixes. */ export type TokenProvider = () => string | Promise<string>; export declare const DatabricksVolumeConfig: z.ZodObject<{ catalog: z.ZodString; schema: z.ZodString; volume: z.ZodString; rootPath: z.ZodDefault<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>; host: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>; token: import("../secrets.ts").SecretSchema<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<TokenProvider, TokenProvider>]>>; timeout: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; export type DatabricksVolumeConfig = ConfigOf<typeof DatabricksVolumeConfig>; //# sourceMappingURL=config.d.ts.map