import { AdditionalOptions, JsonSchema, SourceObjectOptions } from '../../types/index.js'; export declare function findMatchingItemArray(locale: string, sourceObjectOptions: SourceObjectOptions, sourceObjectPointer: string, sourceObjectValue: any): Record; export declare function findMatchingItemObject(locale: string, sourceObjectPointer: string, sourceObjectOptions: SourceObjectOptions, sourceObjectValue: any): { sourceItem: any | undefined; keyParentProperty: string; }; /** * Get the identifying locale property for an object * @param locale - The locale to get the identifying locale property for * @param sourceObjectPointer - The path to the source object * @param sourceObjectOptions - The source object options * @returns The identifying locale property */ export declare function getIdentifyingLocaleProperty(locale: string, sourceObjectPointer: string, sourceObjectOptions: SourceObjectOptions): string; /** * Get the identifying locale property and the json path to the key for an array * @param locale - The locale to get the identifying locale property for * @param sourceObjectPointer - The path to the source object * @param sourceObjectOptions - The source object options * @returns The identifying locale property and the json path to the key */ export declare function getSourceObjectOptionsArray(locale: string, sourceObjectPointer: string, sourceObjectOptions: SourceObjectOptions): { identifyingLocaleProperty: string; localeKeyJsonPath: string; }; export declare function getSourceObjectOptionsObject(defaultLocale: string, sourceObjectPointer: string, sourceObjectOptions: SourceObjectOptions): { identifyingLocaleProperty: string; }; /** * Generate a mapping of sourceObjectPointer to SourceObjectOptions * where the sourceObjectPointer is a jsonpointer to the array or object containing * @param jsonSchema - The json schema to generate the mapping from * @param originalJson - The original json to generate the mapping from * @returns A mapping of sourceObjectPointer to SourceObjectOptions */ export declare function generateSourceObjectPointers(jsonSchema: { [sourceObjectPath: string]: SourceObjectOptions; }, originalJson: any): Record; /** * Validate the json schema for composite or include schemas * @param options - Additional options containing jsonSchema config * @param filePath - The path to the file (used for matching jsonSchema) * @returns The json schema, or null if no schema is found * @returns exitSync(1) if the json schema is invalid */ export declare function validateJsonSchema(options: AdditionalOptions, filePath: string): JsonSchema | null; /** * Detect unsupported fields (e.g. $ref) in Mintlify docs.json files. * Logs a warning listing the fields found. */ export declare function detectMintlifyUnsupportedFields(json: any, filePath: string): void;