/** Distinguishes reference-bearing objects from name maps and opaque instance data. */
export type ReferenceContext = 'link' | 'linkMap' | 'discriminator' | 'object' | 'document' | 'components' | 'paths' | 'namedResponseMap' | 'schema' | 'response' | 'responseMap' | 'example' | 'objectMap' | 'schemaMap' | 'exampleMap' | 'callbackMap' | 'callback' | 'literal';
/** A map's names are data, even when a name happens to be an OpenAPI keyword. */
export declare const getChildReferenceContext: (context: ReferenceContext, key: string, value: unknown) => ReferenceContext;
/** Only objects in reference positions may interpret their own $ref field as a URI. */
export declare const canResolveReference: (context: ReferenceContext) => boolean;
//# sourceMappingURL=reference-context.d.ts.map