import type { model as amf } from 'amf-client-js'; import type { AdapterAnnotation } from '../intermediate/adapter-annotation'; import type { ShapeDefinition, NodeShapeDefinition } from '../intermediate/definitions'; import type { MockPayload } from '../intermediate/mock-payload'; import type { ShapeCoerceFunction, ShapeTtls } from '../intermediate/model-info'; import type { ShapeKeys } from './main'; import type { StringMap } from '../intermediate/utils'; import type { ResourceType } from '../intermediate/resource'; export declare const ADAPTER_ANNOTATION_NAME = "adapter"; export declare function collectAdapterAnnotation(document: amf.document.Document, operation: amf.domain.Operation, method: string, adapterNames: string[], shapeCoerceFunction: ShapeCoerceFunction, shapeKeys: ShapeKeys, shapeTtls: ShapeTtls, rootTtl: number | undefined, resourceKeys: StringMap | undefined, successReturnShape: ShapeDefinition | undefined, mockPaylaods: MockPayload[], resourceConfigShape: NodeShapeDefinition, resourceType: ResourceType): AdapterAnnotation | undefined;