import { InputAuthConfig, RunGeneratorContext } from '../../types'; export interface JsonSchemaDocument { [key: string]: any; $schema?: string; type?: string; properties?: { [key: string]: any; }; definitions?: { [key: string]: any; }; $defs?: { [key: string]: any; }; } /** * Load JSON Schema document from file path or remote URL in context. */ export declare function loadJsonSchema(context: RunGeneratorContext): Promise; /** * Load JSON Schema document from a file path or http(s) URL. * * URL format detection: prefers `Content-Type` (`application/json` → * JSON, `*yaml*` → YAML), falls back to URL extension, then to * JSON-first-then-YAML for ambiguous cases. */ export declare function loadJsonSchemaDocument(filePath: string, auth?: InputAuthConfig): Promise; /** * Load JSON Schema document from memory. */ export declare function loadJsonSchemaFromMemory(document: JsonSchemaDocument, documentPath?: string): JsonSchemaDocument;