import type { DatabricksRawProtocolClient } from "./raw-protocol-client.js"; export interface DatabricksModelService { /** Fully-qualified Unity Catalog model service, for example `system.ai.gpt-oss-20b`. */ name: string; comment?: string; creator?: string; createdAt?: number; updatedAt?: number; } export interface DatabricksModelServiceDiscoveryOptions { /** Bounded page size. Databricks rejects some unbounded model-service listings. Default 100. */ pageSize?: number; /** Pagination safety limit. Default 100. */ maxPages?: number; /** Restrict discovery to this UC prefix. Default `system.ai.`. */ requiredPrefix?: string; } export interface DatabricksModelProviderService { name: string; providerType: string; targets: string[]; allowAllTargets: boolean; } /** * Verify that Unity AI Gateway v2 is enabled. A successful empty listing still means the service is * available; model-service discovery reports whether usable models exist. */ export declare function ensureDatabricksAiGateway(client: DatabricksRawProtocolClient): Promise; /** List fully-qualified Unity Catalog model services with bounded, loop-safe pagination. */ export declare function listDatabricksModelServices(client: DatabricksRawProtocolClient, options?: DatabricksModelServiceDiscoveryOptions): Promise; /** List governed external-model providers registered as Unity Catalog securables. */ export declare function listDatabricksModelProviderServices(client: DatabricksRawProtocolClient): Promise; export declare function databricksModelProviderSupportsAnthropic(service: DatabricksModelProviderService): boolean; //# sourceMappingURL=ai-gateway.d.ts.map