import type { HarnessClient } from "../../client/harness-client.js"; import { type JsonObject } from "./normalize.js"; import type { EntitySchemaFetchResult, EntitySchemaSource, LiveEntitySchemaDefinition, LiveSchemaFetchParams } from "./types.js"; export type { HarnessYamlScope, LiveSchemaFetchParams } from "./types.js"; export { buildLiveSchemaCacheKey } from "./cache-keys.js"; /** Tool resource_type → NG entityType for /yaml-schema. */ export declare const LIVE_ENTITY_SCHEMAS: Record; export declare const LIVE_ENTITY_RESOURCE_TYPES: string[]; /** * Placeholder identifier for NG /yaml-schema on live entity types at any scope. * Some NG builds reject scoped requests without identifier (scopedIdentifierConfig is null). * A dummy value returns the generic type-level schema — the entity does not need to exist. */ export declare const YAML_SCHEMA_PLACEHOLDER_IDENTIFIER = "test"; /** Resolve NG yaml-schema identifier: explicit param wins, else placeholder for live entity types. */ export declare function resolveYamlSchemaIdentifier(resourceType: string, params: LiveSchemaFetchParams): string | undefined; export declare function extractLiveSchema(response: unknown): JsonObject; export declare function getResourceDefinitions(schema: JsonObject, resourceType: string): JsonObject | undefined; export declare function getRootDefinition(schema: JsonObject, resourceType: string): JsonObject | undefined; export declare function getDefinitionSections(schema: JsonObject, resourceType: string): string[]; export declare function getEntitySchemaSummary(schema: JsonObject, resourceType: string, source: EntitySchemaSource): Record; export declare function navigateEntitySchemaPath(schema: JsonObject, resourceType: string, path: string): unknown; export interface LiveSchemaFetcher { listResourceTypes(): string[]; isLiveEntity(resourceType: string): boolean; fetch(resourceType: string, params?: LiveSchemaFetchParams): Promise; } export declare function createLiveSchemaFetcher(client: HarnessClient): LiveSchemaFetcher; //# sourceMappingURL=live.d.ts.map